February 04, 2015
The Java virtual machine (Java VM ) has built-in instrumentation that enables you to monitor and manage it using the Java Management Extensions (JMX) technology. These built-in management utilities are often referred to as out-of-the-box management tools for the Java VM. You can also monitor any appropriately instrumented applications using the JMX API.
ZephyrServer is installed as a Windows service. This approach uses tomcat7w.exe and avoids direct registry changes.
- Using command line, cd <zephyr>/tomcat/bin
- run .\tomcat7w.exe //ES//ZepyrServer
- It opens a UI, in third tab, add the java options for JMX
-Dcom.sun.management.jmxremote.port=< for ex:8081>
4. Save and quit. Restart ZephyrServer
Open VisualVM - go to bin folder under JDK and double click on visualvm icon - e.g.
Once the window for Visualvm opens click on "remote"in the left pane and click on "Monitor" and "Thread"tabs for heap or memory monitoring and thread monitoring which also provides options for Heap dump and Thread dumps to as shown in the screenshots below