[jboss-user] [JBoss Cache POJO Edition] - Where do I (should I?) set the -javaagent parameter on JBoss startup?

Ajuba Ajuba do-not-reply at jboss.com
Sat May 15 08:19:37 EDT 2010


Ajuba Ajuba [http://community.jboss.org/people/ajuba] replied to the discussion

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

To view the discussion, visit: http://community.jboss.org/message/543236#543236

--------------------------------------------------------------
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
[http://community.jboss.org/message/543236#543236]

Start a new discussion in JBoss Cache POJO Edition at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2054]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100515/2a2ab348/attachment.html 


More information about the jboss-user mailing list