Modify the Webserver start script.

# JMX_PORT=50505 # these two lines enable remote monitoring/profiling of the application
# JMX_FLAGS="-Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
From the steps above, uncommenting the above variables will allow the Webserver to run with the JMX flags. Once a Java application is run with JMX flags, JMX managers/clients such as JConsole and our JMX-Server plugin will now be able to monitor the MBean attributes (such as Memory) of the Java application
Comments
0 comments
Please sign in to leave a comment.