Configuring Remote JMX Monitoring

About this task

To connect to the JMX server remotely, you must configure a port for the RMI connection. By default, the RMI port is not enabled.

Important: The RMI port is not secured. IBM does not recommend using this method to connect to the JMX server in a production environment.

To configure a JMX RMI connection

Procedure

  1. In the Enterprise Manager, for the realm server that you want to monitor, go to Realms > realmName > Config > JVM Management.
  2. Set the property JMXRMIPort to a valid, not bound port number.
    Changes take effect immediately and no server restart is required. If the port is not available, the realm server goes through the next 10 consecutive ports and chooses the first free port.
  3. Connect to the JMX server using the following URL format:
    service:jmx:rmi:///jndi/rmi://IPAddress:JMXRMIPort/server

    For example, if you set JMXRMIPort to 9010, the URL is:

    service:jmx:rmi:///jndi/rmi://localhost:9010/server

    The JMXRMIServerURLString property in the Enterprise Manager shows the URL to use for connecting to the JMX server. You might have to restart the Enterprise Manager to view the URL.

Disabling the JMX RMI Connection

About this task

To disable the JMX RMI connection for a Universal Messaging server

Procedure

  1. In the Enterprise Manager, for the realm server that you are monitoring, go to Realms > realmName > Config > JVM Management.
  2. Set the JMXRMIPort property to 0.