Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Testing JConsole with ServiceMix

...

  1. To see JConsole in action, start one of the ServiceMix examples running, for instance, the _Basic_ Example:
    Code Block
    
    cd [servicemix_install_dir]\examples\basic
    ..\..\bin\servicemix servicemix.xml
    
    where servicemix_install_dir is the directory in which ServiceMix was installed.

...

  1. Run JConsole (see previous section) and click on ((org.servicemix}}.

...

  1. Click on {{org.servicemix.jbi.framework.ComponentMBeanImpl. All of the components of the Basic example will be shown. Clicking on each of them will show the monitoring information available.

    Panel
    borderColor#ccc
    titleJConsole Monitoring & Management Console - JMX Console
    borderStylesolid

    Image Added

Using MC4J

When you want to get at the ServiceMix MBeans using MC4J use JSR160 as your server connection type and the above default JMX Service URL as your server URL.

...