Some application servers, such as Apache Tomcat, do not provide their own MBean server remote access method. In such cases, you can enable a standard JDK remote JMX access mechanism by adding -D parameters to the Java command-line in the application server's startup scripts.
For a full description of the available options, see:
http://download.oracle.com/javase/1.5.0/docs/guide/management/agent.html
For a simple description for Apache Tomcat, see Enabling JMX Remote:
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
The following code block is an example of the required parameters:
where <JMXPORT> is an available port number that the MBean server can listen on for connections from the JMX agent.
Add the following parameters to the Generic JVM Arguments for the application server:
-Djavax.management.builder.initial=
-Dcom.sun.management.jmxremote
Alternatively, you can add the following lines to java/jre/lib/management/management.properties file in the WAS_HOME directory, outside of the profiles directory:
When configuring the Service URL for WebSphere using the Connection Info Assistant (see Step 5 of the procedure in Creating JMX Agents Using the Connection URL), set the BOOTRSTRAP_PORT to the port number from the BOOTSTRAP_ADDRESS in the WebSphere administration console Ports page, and set the JVM_DATA_PORT to <JMXPORT>. These port numbers must be different.
This parameter forces JBoss to use the Platform MBean Server.
The JBoss Enterprise Application Platform (EAP) does not provide its own MBean server remote access method. You can enable a standard JDK remote JMX access mechanism by adding -D parameters to the Java command-line in the application server's startup scripts.
For a full description of the available options, see:
http://download.oracle.com/javase/1.5.0/docs/guide/management/agent.html
The following code block is an example of the required parameters:
where <JMXPORT> is an available port number that the MBean server can listen on for connections from the JMX agent.
You must also add the following parameters:
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center