In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
It is easy for Tomcat to start the JMX service by adding to the catalina.sh:
1. CATALINANGOPTS = "- Dcom.sun.management.jmxremote.port=8999-Dcom.sun.management.jmxremote.ssl=false-Dcom.sun.management.jmxremote.authenticate=true
2. "
Port number 8999 can be changed to an unoccupied port.
Modify the permissions and contents of jmxremote.access and jmxremote.password files under the JAVA_HOME/jre/lib/management directory
Sudo chmod 600 jmxremote.access
1.monitorRole readonly
2.controlRole readwrite\
3.create javax.management.monitor.*,javax.management.timer.*\
4. Unregister
Sudo chmod 600 jmxremote.password
1.monitorRole QED
2.controlRole rotated D
Modify the hosts file:
Change 127.0.0.1 to real IP
Restart Tomcat.
Summary
The above is the whole content of this article on how to open the JMX service in Tomcat. I hope it will be helpful to you. Interested friends can refer to other related topics on this site, if you have any questions, you can leave a message, the editor will reply you in time.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.