Setup the JBoss agent transaction tracking or diagnostics data collector
If you want to use the transaction tracking or diagnostics capability of the JBoss® agent, you need to make some changes to the agent instance environment settings file, the JBoss server startup file, and the DC Runtime Directory agent configuration parameter. A script is provided to help you make the changes.
Before you begin
- Display the current open file limit setting. ulimit -n
- Example setting the open file limit to 5,056. ulimit -n 5056
Perform Configuring the JBoss agent Step 1 or 2 before you follow this procedure.
The JBoss agent must be installed locally to the JBoss server that is monitored with the transaction tracking or diagnostics capability.
- The JBOSS_HOME directory.
- The JBOSS_HOME/bin directory and files.
- The JBOSS_HOME/modules/system/layers/base/org/jboss/as/server/main/module.xml file.
- The install_dir/config directory.
- The install_dir/config/hostname_je_instance_name.cfg file.
- JBOSS_HOME
- JBoss server installation directory.
- install_dir
- Path where the agent is installed. The default path is:
- /opt/ibm/apm/agent
- C:\IBM\APM\TMAITM6_x64
- hostname
- The name of the host computer where the agent is installed.
- instance_name
- Name of the agent instance that is assigned in the agent configuration method topic:
Procedure
Run the simpleConfig script.
Results
- JBOSS_HOME/bin/standalone.conf
This file is updated with configuration settings required for the transaction tracking or diagnostics capability. Configuration markers are inserted into the file for use when you disable the transaction tracking or diagnostics capability. A backup file is saved in the JBOSS_HOME/bak directory prior to adding or removing the transaction tracking or diagnostics capability changes.
- JBOSS_HOME/modules/system/layers/base/org/jboss/as/server/main/module.xml
This file is updated with a JAVA EE API module dependency. Configuration markers are inserted into the file for use when you disable the transaction tracking or diagnostics capability. A backup file is saved in the JBOSS_HOME/bak directory prior to adding or removing the transaction tracking or diagnostics capability changes.
- Agent instance configuration file
- install_dir/config/hostname_je_instance_name.cfg
- install_dir\TMAITM6_x64\hostname_JE_instance_name.cfg
- Agent environment settings file
- install_dir/config/je_instance_name.environment
- install_dir\TMAITM6_x64\KJEENV_instance_name
- JBOSS_HOME
- JBoss server installation directory.
- install_dir
- Path where the agent is installed. The default path is:
- /opt/ibm/apm/agent
- C:\IBM\APM\TMAITM6_x64
- hostname
- The name of the host computer where the agent is installed.
- instance_name
- Name of the agent instance that is assigned in the agent configuration method topic: