Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:linux 2.6.7 on Intel Pentium 4.
-
Number of attachments :
Description
I tried to execute the HelloWorld tutorial for online weaving using the IBM JDK 1.4.2 build cxia32142-2004-926.
This did not work ok. The process seems to hang with the following exception:
/opt/linux/jdk/1.4.2.ibm/bin/../jre/bin/java -Xrunjdwp:transport=dt_socket,suspend=y,address=9300,server=y -Xdebug -Xbootclasspath/p:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/aspectwerkz-core-2.0.jar -Daspectwerkz.home=/home/martin/test/aspectwerkz/aspectwerkz-2.0 -Daspectwerkz.definition.file=aop.xml -cp /home/martin/data/midoffice_main/destination/debug/java:.:/opt/linux/jdk/1.4.2.ibm/jre/lib/rt.jar:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/aspectwerkz-extensions-2.0.jar:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/aspectwerkz-2.0.jar:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/aspectwerkz-jdk14-2.0.jar:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/dom4j-1.4.jar:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/qdox-1.4.jar:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/concurrent-1.3.1.jar:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/trove-1.0.2.jar:/home/martin/test/aspectwerkz/aspectwerkz-2.0/lib/jrexx-1.1.1.jar:. testAOP.HelloWorld
Exception in thread "main" java.lang.Error: target JVM cannot redefine classes, please force the use of -Xbootclasspath
at org.codehaus.aspectwerkz.hook.ClassLoaderPatcher.redefineClass(ClassLoaderPatcher.java:107)
at org.codehaus.aspectwerkz.hook.ClassLoaderPatcher.hotswapClassLoader(ClassLoaderPatcher.java:219)
at org.codehaus.aspectwerkz.hook.ProcessStarter.run(ProcessStarter.java:201)
at org.codehaus.aspectwerkz.hook.ProcessStarter.main(ProcessStarter.java:271)