Jconsole as a Java built-in Performance analyzer that can be run from the command line and GUI Shell, greatly facilitates the monitoring of Java application performance and facilitates its optimization.
In practice, remote monitoring may be more commonly used, and is now recorded related configuration operations and attention issues:
1. Pay special attention to the settings of the hostname without using the local loopback network card
2. Modify the configuration file catalina.sh, add the following configuration:
catalina_opts="$CATALINA _opts
-dcom.sun.management.jmxremote
-dcom.sun.management.jmxremote.port=9991
-dcom.sun.management.jmxremote.ssl=false
-dcom.sun.management.jmxremote.authenticate=false
"
It is important to note that if you open the remote debugging port at the same time, it may have an impact, causing the Jmxremote remote port not to be exposed
3. If secure authentication is turned on (authenticate=true), you need to open the jmxremote.access and Jmxremote.password files and set 600 permissions
Related Posts : JVISUALVM Remote Monitoring configuration: http://zuohao1990.blog.51cto.com/6057850/1787733
This article is from the "Stuffed Pig" blog, please be sure to keep this source http://zuohao1990.blog.51cto.com/6057850/1787732
Jconsole Remote Monitoring Configuration