1. Enter the $JAVA_HOMEjrelibmanagement directory 2. Rename jmxremote.password.template to jmxremote.password 3. Open jmxremote.password and remove the comments of monitorRole QED and controlRole R&D 4. Modify the configuration file of the monitored program, such as tomcat : Open $TOMCAT_HOMEbincatalina.sh and add
5. Open VisualMV, click Remote, enter the server IP as the host name, click advanced settings to set the port, right-click the IP you just configured, select the JMX connection method, enter the port again after the IP, and click OK. .
Modify the remote machine JRE configuration file:
1. Enter the $JAVA_HOMEjrelibmanagement directory
at the bottom of the comment2. Rename jmxremote.password.template to jmxremote.password
3. Open jmxremote.password and remove the comments of monitorRole QED and controlRole R&D
4. Modify the configuration file of the monitored program, such as tomcat : Open $TOMCAT_HOMEbincatalina.sh and add
5. Open VisualMV, click Remote, enter the server IP as the host name, click advanced settings to set the port, right-click the IP you just configured, select the JMX connection method, enter the port again after the IP, and click OK. .
Are you unable to connect to the remote server locally?
Recommend a remote java diagnostic tool
Using documentation