DX Application Performance Management

TEC606413: How to set up JBoss 7 AS in Domain Mode with Introscope Agent and see JMX metrics 

May 25, 2016 05:58 PM

Author: musma03

Document ID:  TEC606413

Last Modified Date:  2/20/2014

  • Products
    • CA Application Performance Management
    • CA Introscope
  • Components
    • WILY INTROSCOPE
    • INTROSCOPE AGENT
    • ENTERPRISE MANAGER
    • JAVA AGENTS
    • APPLICATION PERFORMANCE MANAGEMENT
    • INTROSCOPE

 

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:

  1. Stop JBoss
  2. Open the [JBoss 7 AS Home]\domain\configuration\host.xml file with a text editor.
  3. Modify the section so that it looks similar to the one shown below. Please note that for the first two property names, boot-time must be set to true.

       <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>  
  4. Save and exit.
  5. Restart JBoss

 

 

 

Search the Entire CA APM Knowledge Base

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.