Community

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

created by Lefteris Koutsoloukas in JBoss Cache POJO Edition - View the full discussion

Hello

 

I'm using the default configuration of JBoss with an application that uses pojo cache.

All is well with pojo cache startup, but I get exceptions when trying to attach anything to the cache.

 

Do I have to set the -javaagent:..\lib\jboss-aop.jar option in the %JBOSS_HOME%\bin\run.bat file or is it not required?

Or maybe set it somewhere else?

How does the pojo cache work with the "all" configuration since the -javaagent is not set?

 

And what about the -Djboss.aop.path=path\to\pojocache-aop.xml?

Also set it in run.bat?

 

Cheers

Lefteris

Reply to this message by going to Community

Start a new discussion in JBoss Cache POJO Edition at Community