Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Equinox Aspects in RAP Tomcat Deployment

Hi,
First off, Equinox Aspects is COOL! ;)
I have a problem tho...
I have a rap project which is now pretty big (originally ported from an existing web app with existing model etc). I used AspectJ/Equinox Aspects to implement property change notification and eventually got the whole thing working beautifully when i launch the application thru the eclipse debugger/rap launcher (setting the startup values in the Debug Config dialog).
so i setup my config.ini accordingly (ensuring that the weaving service was started etc) and when launched, OSGI was not starting the service as it was reporting NoClassDefError on IWeavingService. I read a similar post on the equinox dev list (about starting aspects from the command line) and so added the following to the tomcat startup.bat -Dosgi.compatibility.bootdelegation=true and added the osgi/weaving hook bundles to the classpath. This seemed to overcome the first problem and the bundles are activated however the i do not see the weaver actually kicking in (like i do in the debug version). any ideas would be greatly appreciated.
Regards,
Dara

Back to the top