Community

Where do I (should I?) set the -javaagent parameter on JBoss startup?

reply from Ajuba Ajuba in JBoss Cache POJO Edition - View the full discussion

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\deploy

 

That's all

 

 

Cheers!

Ajuba

Reply to this message by going to Community

Start a new discussion in JBoss Cache POJO Edition at Community