To enable the PMM to monitor the JBoss 4.x – 5.x using JMX, you need to configure the JBoss 4.x – 5.x application server to use JMX, and configure WebLOAD to use JBoss.
To configure JBoss to use JMX:
Edit the server execution file (for example, /usr/local/jboss/bin/run.sh) by adding the following flags:
JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote=true
JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.port=6789
JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false
JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false
where jmxremote.port is some arbitrary free TCP port.
Run JBoss with -b0.0.0.0. This instructs the server not to bind exclusively to localhost.
Note: By default, the JBoss Naming Service (JNDI) is listening on TCP port 1099. This port is the default port, retrieved from the Service Binding Manager. You can change the default port by changing the following configuration file: /usr/local/jboss/server/all/conf/jboss-service.xml.
To configure WebLOAD to use JBoss:
Put required jars into C:\ProgramData\RadView\WebLOAD\extensions\java.
Try toconnect to port 1099 (JNDI).