This content has been marked as final.
Show 1 reply
-
1. Re: Where do I (should I?) set the -javaagent parameter on JBoss startup?
ajuba May 15, 2010 8:19 AM (in response to lefterisk)I would suggest to use server/all with the following
1:- Edit the C:\jboss-5.1.0.GA\server\all\conf\bootstrap\aop.xml in LINE no-72: <property name="enableLoadtimeWeaving">true</property>
2:- CopyC:\jboss-5.1.0.GA\server\all\deployers\jboss-aop-jboss5.deployer\pluggable-instrumentor.jar to C:\jboss-5.1.0.GA\bin
3:- EditC:\jboss-5.1.0.GA\bin\run.conf.bat file:LINE N0=-50 type : set “JAVA_OPTS=%JAVA_OPTS% -javaagent:pluggable-instrumentor.jar”
4:- Copy pojocache-aop.xml to C:\jboss-5.1.0.GA\server\all\deployThat's all
Cheers!
Ajuba