tomcat中的bin/catalina.sh 文件头部,增加一行文字如下
JAVA_OPTS="-Dcom.sun.management.jmxremote.port=10000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.
authenticate=false"
CATALINA_PID=pid
rmi的端口设置为1000
tomcat中的bin/catalina.sh 文件头部,增加一行文字如下
JAVA_OPTS="-Dcom.sun.management.jmxremote.port=10000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.
authenticate=false"
CATALINA_PID=pid
rmi的端口设置为1000