JBoss Community

Re: JBoss6 AOP Load-Time-Weaving

created by Fabian Engels in JBoss AOP - View the full discussion

Thanks for the fast answers,

 

yea the problem was somewhere else.. I tried the same setup on my other machine and it runs very well.

For people how wanna know these were my 5 steps to get it work.

 

1.) copy the JBoss_6.0.0-M5\server\default\deployers\jboss-aop-jboss5.deployer\pluggable-instrumentor.jar

     to JBoss_6.0.0-M5\bin

 

2.) setting loadtimeweaving at JBoss_6.0.0-M5\server\default\conf\bootstrap\aop.xml to true

 

 

     <property name="enableLoadtimeWeaving">true</property>

 

3.) put your jboss-aop.xml to JBoss_6.0.0-M5\server\default\deploy\

 

4.) put your aspect class in your webproject

 

5.) don't forget to add the -javaagent:pluggable-instrumentor.jar to the runntime if you use eclipse you find this

     on Server View under Open launch configuration

Reply to this message by going to Community

Start a new discussion in JBoss AOP at Community