Jconsole Remote Monitoring Configuration

Source: Internet
Author: User
Tags jconsole

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

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.