Instrumenting Jboss Chronos on Windows

book

Article ID: 103563

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/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.

Resolution

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