JAsCo and Tomcat
"Mandeep Joshi" <[email protected]> Wed, 25 Apr 2007 00:42:30 +0100
| Newsgroups | gmane.comp.programming.aspect.general |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ discuss mailing list - [email protected] To unsubscribe and change options, go to: http://aosd.net/mailman/listinfo/discuss_aosd.net Check out the AOSD.net Wiki: http://aosd.net/wiki