Versions Compared

Key

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

...


The following configuration variables will be needed in the next sections. Be aware, the values shown are the default settings for ServiceMix.

Anchor
settings
settings

Tip
titleDefault Settings

The default namingPort is 1099
The default container name is defaultJBI
The JMX Service URL is: service:jmx:rmi:///jndi/rmi://localhost:1099/defaultJBIJMX

...

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.

  1. ServiceMix should be running first. Please see the #Getting Started Guide for instructions on running ServiceMix.
  2. Run JConsole from a command shell. The JConsole executable can be found in the bin directory of the J2SE installation directory.
    Code Block
    cd [J2SE_install_dir]\bin
    jconsole
    
    The JConsole window will appear.
  3. 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
    titleJConsole Agent - JMX Console
    borderStylesolid

  4. Click the Connect box to connect to the ServiceMix container. The ServiceMix MBeans will be visible in the console. Click on any one of them to see the statistics and perform monitoring functions.
    Panel
    borderColor#ccc
    titleJConsole Management & Monitoring - JMX Console
    borderStylesolid

...