...
The Java-2 Platform, Standard Edition (J2SE) 5.0 release includes a JMX monitoring tool, JConsole. JConsole monitors applications running on the Java platform and provides information on their performance and resource consumption. Please see Sun's documentation for more information on using this tool: http://java.sun. com/developer/technicalArticles/J2SE/jconsole.html
How to Use JConsole to Monitor ServiceMix
The following information will be needed: the ServiceMix port number, the ServiceMix container id, and the JMX Service URL. This information was specified in the previous section in the " Default Settings box.
- ServiceMix should be running first. Please see the #Getting Started Guide for instructions on running ServiceMix.
- Run JConsole from a command shell. The JConsole executable can be found in the
bin
directory of the J2SE installation directory.
The JConsole window will appear.Code Block cd [J2SE_install_dir]\bin jconsole
- Click on the Advanced tab. Enter the following in the box for "JMX URL":
service:jmx:rmi:///jndi/rmi://localhost:1099/defaultJBIJMX
.Panel borderColor #ccc title JConsole Agent - JMX Console borderStyle solid - Click the Connect box to connect to the ServiceMix container. The ServiceMix MBeans .
org.servicemix
} will be visible in the console. Click on any one of them to see the statistics and perform monitoring functionsDouble click onorg.servicemix
to see its MBeans.Panel borderColor #ccc title JConsole Management & Monitoring - JMX Console borderStyle solid
...