[aosd-discuss] JAsCo and Tomcat
Mandeep Joshi
JOSHIM at hope.ac.uk
Tue Apr 24 19:42:30 EDT 2007
Dear All,
I have been trying to use DJAsCo with Tomcat for few days now and havent
been successful. I would be grateful if I could get a bit of help off
you regarding this.
I have followed the guidelines from the DJAsCo website by doing the
following but had no joy yet.
I have amended the catalina files in tomcat to include JAVA_OPTS and add
JAsCo jar files in classpath
set JAVA_OPTS= -javaagent:C:\JAsCo0.8.7\jasco.jar
-Djasco.hotswap.applicationserver=true -Djasco.debug=true
-Djasco.hotswap.inlinecompiler=true
set CLASSPATH
=%CLASSPATH%;C:\JAsCo0.8.7\jasco.jar;C:\JAsCo0.8.7\jasco-ant;C:\JAsCo0.8.7\jasco-distribution;C:\JAsCo0.8.7\jasco-libs.jar;.;C:\JAsCo0.8.7\jascomert.jar;C:\ExampleGrid\Quiz\Generated\aspect;C:\ExampleGrid\Quiz\Generated\Connector
(where last two files are the locations for aspects and
connectors.)
I transformed my service(java class file) into jascobeans and deployed
into tomcat. Now, when I run tomcat (version 5.0.28) my output file
starts with this
============================================================================
--- JAsCo Jutta system activated ---
============================================================================
followed by programs outputs. But it doesnt intercept any of the
pointcuts at all. The worst thing is, it doesnt even give me any errors.
However what i noticed was, when I run a jascobean under jasco (not
deployed with tomcat) its output begins with something like this
=============================================================================
-------------------------------------------------------
GMS: address is 192.168.0.10:3171
-------------------------------------------------------
-------------------------------------------------------
GMS: address is 192.168.0.10:3177
-------------------------------------------------------
--- JAsCo Jutta system activated ---
JAsCo HotSwap 2: Loading and trapping application, please wait...
JAsCo prototype run-time weaver disabled!
=============================================================================
I am not sure why Hotswap2 is not being applied to the jascobeans
deployed in tomcat and why the pointcuts are not beingintercepted.
I would be really glad if you could point out any of my wrong-doings.
Please let me know if you need furthre information.
Thanking you in advance,
Kind Regards,
Mandeep
More information about the discuss
mailing list