VisualVm使用JMX的方式连接远程JVM

1、在catalina.sh中添加配置如下: 在其中“# ----- Execute The Requested Command -------------”之前插入一行(中间没有换行): CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8999 -Dc
相关文章
相关标签/搜索