...
- ServiceMix should be running first. Please see the #Getting Started Guide for instructions on running ServiceMix.
- Click on the MC4J executable
MC4J Console 1.2b9.exe
(for Windows) to start it. It can be found in the top-level directory of the MC4J installation. The MC4J window will appear. - Click on Management>Create Server Connection... link. This will bring up the wizard where the connection to ServiceMix can be added.
Click on the Advanced tab.Panel borderColor #ccc title JConsole Agent borderStyle solid - Enter the following into the text boxes:
Select your server connection type: JSR160
Name: This can any name, for example, ServiceMix
Server URL: service:jmx:rmi:///jndi/rmi://localhost:1099/defaultJBIJMX
The following URL must be entered in the "JMX URL" box: service:jmx:rmi:///jndi/rmi://hostname:port/app_to_monitor. Where the ((hostname}} is name of the host on which the application to be monitored is running, the port
is the port number to connect to the application, and the app_to_monitor
is the JMX enabled application to monitor. For example, if none of the defaults for ServiceMix have been modified and ServiceMix is running on localhost
, enter the following: service:jmx:rmi:///jndi/rmi://localhost:1099/defaultJBIJMX
.
...
borderColor | #ccc |
---|---|
title | JConsole Agent |
borderStyle | solid |
...
- Click the Connect box to connect to the ServiceMix container.
org.servicemix
will be visible in the console. Click onorg.servicemix
to see its MBeans.Panel borderColor #ccc title JConsole Management & Monitoring borderStyle solid
...