Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] LTW problem (recursive invocation) with resin-pro-3.0.14 in eclipse indigo ajdt

I have created a LoadTimeWeaving project that can properly trace a simple HelloWorld project and everything works as designed.

I have a Resin project working properly with a Run Configuration of it's own.

I created a LTW  Run Configuration for my Resin project. I setup this new Run Configuration exactly as the working Resin project with the inclusion of the referenced LTW project and the required jars.

With the LTW configuration I get the following error when attempting to run.  I have tried to update the aop-ajc.xml within the generated jar w/ the <weaver options="-verbose"/> but it doesn't seem to get that far.  I've also tried the -debug and -showWeaveInfo with the same results.

Any thoughts?

Could not load Logmanager "com.caucho.log.LogManagerImpl"
java.lang.IllegalStateException: recursive invocation
    at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1336)
    at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1319)
    at java.util.logging.LogManager$1.run(LogManager.java:163)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.util.logging.LogManager.<clinit>(LogManager.java:156)
    at java.util.logging.Logger.getLogger(Logger.java:287)
    at org.aspectj.weaver.tools.Jdk14Trace.<init>(Jdk14Trace.java:26)
    at org.aspectj.weaver.tools.Jdk14TraceFactory.getTrace(Jdk14TraceFactory.java:17)
    at org.aspectj.weaver.loadtime.WeavingURLClassLoader.<clinit>(WeavingURLClassLoader.java:46)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2071)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1344)
    at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1319)

Back to the top