在run.sh增加:
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=9999
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=9999
本文介绍如何通过修改run.sh文件中的JAVA_OPTS参数来启用JMX远程监控,具体包括禁用认证、禁用SSL及设置监听端口。
1万+

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



