-
1. JBoss AS 6 and AspectJ load time weaving
genman Apr 28, 2011 3:17 PM (in response to black_ice_spa)1 of 1 people found this helpfulDoes it work, say, in Tomcat? Does it work stand-alone?
I suspect you'd get more help talking to the AspectJ folk about this.
Also, you should include stack traces and logs whenever possible.
-
2. Re: JBoss AS 6 and AspectJ load time weaving
black_ice_spa Apr 28, 2011 3:27 PM (in response to genman)Hi, thanks for answering.
Yes it works both in tomcat and standalone (didnt try aspectj on tomcat tho).
I cant put logs because enabling aspectjweaver and including the library (ill pipe output but cant do now) breaks logging i think, one of the trace errors its on logmanager or something like that
It only breaks when i include my jar including aspect + Meta-INF/aop.xml into .war/WEB-INF/LIB, without that everything works perfect (even aspectjweaver), ill give a shot @ aspectj forum too, thanks for suggesting.
-
3. JBoss AS 6 and AspectJ load time weaving
alesj Apr 28, 2011 3:39 PM (in response to black_ice_spa)If it helps, JBoss6 CL layer already has a notion of translators / transformers.
* http://community.jboss.org/wiki/JBoss5custommetadatafiles -- see jboss-translator.xml
To get a better feel for what this does, the test(s) are here: