JBoss, Wildfly Application Server

Installation

For general Agent installation instructions, see Set up Agents.

32-bit Agent example

-agentpath:"<DT_HOME>\agent\lib\dtagent.dll"=name=<AgentName>,server=<collectorName>  
-agentpath:"<DT_HOME>/agent/lib/libdtagent.so"=name=<AgentName>,server=<collectorName>

If you're running a 64-bit JBoss, use lib64 in the path instead of lib.

Note

For Windows, the unconventional nested double quotes set in "JAVA_OPTS=...-agentpath:"<pathWithSpace>..."..."" (set "JAVA_OPTS=...-agentpath:"<pathWithSpace>..."...") are correct. A known bug in JBoss versions 8.1.0 and 8.2.0 prevents usage of spaces in the JAVA_OPTS environment variable. To work around this issue:

  • Use the latest version 8 (8.2.1) if possible.
  • If you can install to a space-less path you can get along with 8.1.0 or 8.2.0.
  • You can apply a special treatment to / edit standalone.bat.

Wildfly 8.x - 10.0.0 and JBoss 7

Note

WildFly 10 does not deliver any pool statistics if the data source has not set the enable statistics flag.

JBoss 6

JBoss 5

See the external page Enable Monitoring in JBoss Domain Modes for more details about JBoss Domain Mode.