5 Working with Remote JVMs
Java Management Extension
Java virtual machine (JVM) uses Java Management Extensions (JMX) technology over a Remote Method Invocation (RMI) connector, known as JMXRMI to enable monitoring and management features.
- To connect to the Java application (remote JVM) from JMC, you must
start the remote JVM using JMX JVM arguments such as:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate
-Dcom.sun.management.jmxremote.port
-Dcom.sun.management.jmxremote.ssl
See Monitoring and Management Using JMX Technology for complete list of arguments and their values.
- Ensure that there are no firewall rules on the server or client (the machine where JMC is running), which block connectivity to the JMX remote port.
- Obtain the configuration details such as port number, host name, authentication credentials, and digital certificates from your remote JVM, if any.
Once SSL is enabled on the remote JVM, configure JMC using the same set of digital certificates used in the remote JVM.
Java Discovery Protocol (JDP)
The Java Discovery Protocol (JDP) enables the JVM Browser to list JVM instances across the same network subnet.
- Connect to the Java application (remote JVM) from JMC using JDP
arguments.
See Java Discovery Protocol (JDP) documentation for more details.
- Ensure that there are no firewall rules on the server or client (the machine where JMC is running), which block connectivity.
See Troubleshooting Tricks for solutions to commonly occurring issues.