Instrumenting Jboss Chronos on Windows

Document ID : KB000103563
Last Modified Date : 13/07/2018
Show Technical Document Details
Introduction:
What steps should be taken to instrument Jboss Chronos running on Windows with an APM agent?
Environment:
JBoss EAP 6.3.0.GA running with Java 1.8 on Windows.
Instructions:
To instrument Jboss Chronos running on Windows...

1 -In start.bat, please append the following to " set JAVA_OPTS= "
   -javaagent:"<Path to Agent>\Agent.jar" -Dcom.wily.introscope.agentProfile="<Path to Agent>\core\config\IntroscopeAgent.profile" -Dorg.osgi.framework.bootdelegation=com.wily,com.wily.* -Djava.util.logging.manager=org.jboss.logmanager.LogManager 


2 -In standalone.conf.bat, please update... 
   set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman" 
to... 
   set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=com.wily,com.wily.*,org.jboss.byteman"

3- Restart Jboss