https://segmentfault.com/a/1190000012762629
export CATALINA_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=192.168.25.129"
远程调试
https://www.cnblogs.com/qnight/p/8983145.html
export CATALINA_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=192.168.19.200
-agentlib:jdwp=transport=dt_socket,address=15833,suspend=n,server=y"
本文介绍如何通过设置CATALINA_OPTS环境变量来启用Tomcat服务器的JMX远程管理和JDWP远程调试功能。具体包括指定JMX监听端口、禁用SSL及认证、设置主机名以及JDWP的连接地址等参数。
4811

被折叠的 条评论
为什么被折叠?



