Jvisualvm Remote Monitoring Server tomcat and jvisualvmtomcat
1. in {Server tomcat path}/bin/catalina. in sh, [# OS specific support. $ var _ must _ be set to either true or false.] Add the following configuration in the previous row (if the JAVA_OPTS configuration is enabled, the unconfigured parameters will be appended)
JAVA_OPTS = "-Xms3076m-Xmx3076m-Xss1024K-XX: PermSize = 2048 m-XX: MaxPermSize = 3076 m-XX: ParallelGCThreads = 8-Dcom. sun. management. jmxremote. port = 29008-Dcom. sun. management. jmxremote. ssl = false-Dcom. sun. management. jmxremote. authenticate = false"
2. Introduction to the above parameters
-Dcom. sun. management. jmxremote. port = 29008 jmx connection port-Dcom. sun. management. jmxremote. ssl = false whether ssl encryption-Dcom. sun. management. jmxremote. authenticate = false password authentication is required for remote connection. If it is set to false, no user name or password is required.
3. Open jvisualvm.exe under $ JAVA_HOME/bin, as shown in the following figure:
4. Add a remote host