使用JMX工具远程监控tomcat配置

时间:2023-03-10 00:09:37
使用JMX工具远程监控tomcat配置

使用JMX工具远程监控tomcat,在tomcat启动时添加配置参数:

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port={your_port_number}
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname={your_server's_public_ip}