Tomcat Config
Add following parameters into Tomcat application, we can use C:\Program Files (x86)\Java\jdk1.8.0\bin\jconsole.exe to monitor the status of JVM
-Djava.rmi.server.hostname=<IP address>
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8011
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-XX:MaxPermSize=256m
Unpack the war file
set in conf/server.xml
unpackWARs="true" autoDeploy="true"
unpackWARs="true" autoDeploy="true"
Comments
Post a Comment