Jvisualvm Remote Monitoring Server tomcat and jvisualvmtomcat

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.