在catalina.sh中加入如下配置
$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6688 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=192.168.1.215
$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6688 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=192.168.1.215
本文介绍如何通过编辑catalina.sh文件来配置Tomcat服务器的JMX远程访问功能,包括设置监听端口、禁用SSL及认证等。
673

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



