[aspectwerkz-user] AspectWerkz and Online loading problems....

Aaron Rustad <[email protected]> Wed, 8 Feb 2006 09:24:51 -0700
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
I am having difficulty starting up Tomcat 5.0.30 with AspectWerkz 2.0.

I have followed the tutorials on the wiki, but I am not sure if they
are out of date or not.

Anyway, this is how I have things configured.

Using JAVA_HOME:       c:\Program Files\Java\jdk1.5.0_05
JAVA_OPTS=-javaagent:lib/aspectwerkz-jdk5-2.0.jar
RUNJAVA=/cygdrive/c/Program Files/Java/jdk1.5.0_05//bin/java
CATALINA_OPTS=-Dbuild.compiler.emacs=true
CLASSPATH=c:\Program
Files\Java\jdk1.5.0_05\lib\tools.jar;c:\p4workspace\NNGSadmin\main\admin\devlib\aspectwerkz-2.0;c:\p4workspace\NNGSadmin\main\admin\devlib\jakarta-tomcat-5.0.30\bin\bootstrap.jar;c:\p4workspace\NNGSadmin\main\admin\devlib\jakarta-tomcat-5.0.30\bin\commons-logging-api.jar

the path to aspectwerkz home directory is correctly set.

When I run the start up script, I am presented with the following errors:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file: lib/aspectwerkz-jdk5-2.0.jar

Is there error suggesting that it can't find the jar? Do I have the
correct jar for the VM(I assume that I do).

Any help is greatly appreciated.
Thanks!
Aaron.