Author: musma03
Document ID: TEC606413
Last Modified Date: 2/20/2014
Description:This article explains how to set up the Introscope Agent with JBoss 7 AS in Domain Mode and see JMX metrics. Please note that these instructions differ from what is needed for JBoss 6 EAP. A separate article discusses the steps to take for JBoss 6 EAP.Solution:Configure JBoss 7 AS in Domain modeThe JBoss 7 AS console differs from the JBoss 6 EAP console. Here are the steps to configure the agent in JBoss 7 AS Domain mode at a server or server group level:
<servers> <server name="server-one" group="main-server-group" auto-start="true"> <system-properties> <property name="com.wily.introscope.agentProfile" value="C:/jboss-as-7.1.0.Final/wily/core/config/IntroscopeAgent.profile" boot-time="true"/> <property name="jboss.modules.system.pkgs" value="com.wily,com.wily.*" boot-time="true"/> </system-properties> <jvm name="default"> <jvm-options> <option value="-javaagent:C:/jboss-as-7.1.0.Final/wily/Agent.jar"/> <option value="-Dcom.wily.introscope.agentProfile=C:/jboss-as-7.1.0.Final/wily/core/config/IntroscopeAgent.profile"/> <option value="-Djboss.modules.system.pkgs=org.jboss.byteman,com.wily,com.wily.*"/> <option value="-Dcom.wily.introscope.agent.agentName=Server1"/> </jvm-options> </jvm> </server> <server name="server-two" group="main-server-group" auto-start="true"> <jvm name="default"> <jvm-options> <option value="-javaagent:C:/jboss-as-7.1.0.Final/wily/Agent.jar"/> <option value="-Dcom.wily.introscope.agentProfile=C:/jboss-as-7.1.0.Final/wily/core/config/IntroscopeAgent.profile"/> <option value="-Djboss.modules.system.pkgs=org.jboss.byteman,com.wily,com.wily.*"/> <option value="-Dcom.wily.introscope.agent.agentName=Server2"/> </jvm-options> </jvm> <socket-bindings port-offset="150"/> </server> <server name="server-three" group="other-server-group" auto-start="false"> <socket-bindings port-offset="250"/> </server> </servers>
Search the Entire CA APM Knowledge Base