You can create a MBean server for an application that runs as standalone, or for a container.

About this task

Procedure

  1. Open the application or container start script in a text editor and set the following JMX remote system properties.
    -Dcom.sun.management.jmxremote \
    -Dcom.sun.management.jmxremote.port=6969 \
    -Dcom.sun.management.jmxremote.ssl=false \
    -Dcom.sun.management.jmxremote.authenticate=false \
    
  2. Save the file.

Results

The system properties create a local MBean server and remote connector.