We are performing a phasewise scheduled maintenance of our Zephyr for Jira Cloud and Capture for Jira Cloud customer instances to be compliant with GDPR- Atlassian privacy policy (https://www.atlassian.com/trust/privacy) .Please expect a downtime during this phase of maintenance between 14th December , 9:00 pm PST to 15th December 5:00 am PST.For any further queries regarding this please rasie a ticket by using the option 'Submit a Ticket' below
Support | Zephyr

Monitor Zephyr application using JMX

Created on

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.

  1. Using command line, cd <zephyr>/tomcat/bin
  2. run .\tomcat7w.exe //ES//ZepyrServer
  3. It opens a UI, in third tab, add the java options for JMX 

-Dcom.sun.management.jmxremote.port=< for ex:8081>
-Djava.rmi.server.hostname=<for ex:127.0.01>

   4.  Save and quit. Restart ZephyrServer

Open VisualVM - go to bin folder under JDK  and double click on visualvm icon - e.g. 

C:\Program Files\Java\jdk1.7.0_51\bin\jvisualvm.exe

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



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk