1. 程式人生 > >tomcat 配置開啟 jconsole 遠端監控 linux上

tomcat 配置開啟 jconsole 遠端監控 linux上

 

[[email protected] bin]# vim catalina.sh

 

搜尋 ---- Execute The Requested Command ---------

/- Execute The Requested Command -----------------------------------------

 

CATALINA_OPTS="$CATALINA_OPTS -Djava.rmi.server.hostname=192.168.244.128 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"

 

加上上面這段

 

 

[[email protected] bin]# ./startup.sh

 

[[email protected] bin]# netstat -ntlp