Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] LTW and webapp under Jetty

Hi Matthew,

Well, I have tried putting it in several places without success.
1. The root of my WebApp war file under /META-INF/
2. Under WEB-INF/META-INF/
3. Under WEB-INF/classes/META-INF/

To be honest I am kind of shooting in the dark with where exactly this
file should be in the context of how I am launching my App.

Thanks,
Serge

Matthew Webster wrote:
>
> Serge,
>
> [AppClassLoader@92e78c] info no configuration found. Disabling weaver for
> class loader sun.misc.Launcher$AppClassLoader@92e78c
>
> This message indicates that an aop.xml file could not be found. Do you
> have one? If yes where have you put it.
>
> Matthew Webster
> AOSD Project
> Java Technology Centre, MP146
> IBM Hursley Park, Winchester,  SO21 2JN, England
> Telephone: +44 196 2816139 (external) 246139 (internal)
> Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
> http://w3.hursley.ibm.com/~websterm/
>
>
> *ssozonoff <serge@xxxxxxxxxxxx>*
> Sent by: aspectj-users-bounces@xxxxxxxxxxx
>
> 06/01/2007 14:02
> Please respond to
> aspectj-users@xxxxxxxxxxx
>
>
> 	
> To
> 	aspectj-users@xxxxxxxxxxx
> cc
> 	
> Subject
> 	[aspectj-users] LTW and webapp under Jetty
>
>
>
> 	
>
>
>
>
>
>
> Hi All,
>
> I have written an Aspect using @AspectJ annotation and now I am trying to
> weave it into my classes using the LTW java agent (JDK 1.5) but
> nothing gets
> weaved.
> I have a feeling it my have to do with some sort of Class Loader issue..
>
> On top of this I am running the app (Jetty) from IntelliJ.
>
> The launch command looks like this (classpath has been shortened)
>
> C:\java_vms\jdk1.5.0_09\bin\java
> -javaagent:WebContent\WEB-INF\lib\aspectjweaver.jar -DDEBUG
> -Daj.weaving.verbose=true -Didea.launcher.port=7542
> "-Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA
> 6.0\bin"
> -Dfile.encoding=windows-1252 -classpath
> "C:\java_vms\jdk1.5.0_09\jre\lib\charsets.jar;C:\java_vms\jdk1.5.0_09\jre\lib\deploy.jar;C:\java_vms\jdk1.5.0_09\jre\lib\javaws.jar;C:\java_vms\jdk1.5.0_09\jre\lib\jce.jar;C:\java_vms\jdk1.5.0_09\jre\lib\jsse.jar;C:\java_vms\jdk1.5.0_09\jre\lib\plugin.jar;C:\java_vms\jdk1.5.0_09\jre\lib\rt.jar;C:\java_vms\jdk1.5.0_09\jre\lib\ext\dnsns.jar;C:\java_vms\jdk1.5.0_09\jre\lib\ext\localedata.jar;C:\java_vms\jdk1.5.0_09\jre\lib\ext\sunjce_provider.jar;C:\java_vms\jdk1.5.0_09\jre\lib\ext\sunpkcs11.jar;C:\Program
> Files\JetBrains\IntelliJ IDEA 6.0\lib\idea_rt.jar"
> com.intellij.rt.execution.application.AppMain org.mortbay.jetty.Main 8085
> -webapps exploded
>
> and the first few lines of output...
>
> [AppClassLoader@92e78c] info AspectJ Weaver Version 1.5.3 built on
> Wednesday
> Nov 22, 2006 at 11:18:15 GMT
> [AppClassLoader@92e78c] info register classloader
> sun.misc.Launcher$AppClassLoader@92e78c
> [AppClassLoader@92e78c] info no configuration found. Disabling weaver for
> class loader sun.misc.Launcher$AppClassLoader@92e78c
> ...
>
> Does anyone have any suggestions or thoughts?
>
> Kind thanks,
> Serge
> -- 
> View this message in context:
> http://www.nabble.com/LTW-and-webapp-under-Jetty-tf2930858.html#a8194132
> Sent from the AspectJ - users mailing list archive at Nabble.com.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>   



Back to the top