Modify the Webserver start script.
![](https://www.itrsgroup.com/zendesk/download/attachments/28380896/image2013-8-2%2015-35-9.png?version=1&modificationDate=1375429064000&api=v2)
# 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.