There are several tools on the market for performance management. There is Â for instance JConsole, the Enterprise Manager ( GridControl) but another nice tool to see how your JVM is doing is JRockit Mission Control, coming with the BEA JRockit JDK
Start and looking at the dashboard gives me already a smile on my face; I feel like I’m in the a real cockpit flying on MBeans an drilldown memory leaks 🙂
Before we start using Mission Control, we have to do some simple steps to set it up right.
We download the package for our 64 bit Linux WebLogic server, available on http://download.oracle.com/otn/bea/jrockit/jrockit-jdk1.6.0_20-R28.1.0-4.0.1-linux-x64.bin. To connect from our local desktop, we need a windows client
All binary packages, with the extension *.bin are self-extractable, Â we only have to make executable by performing chmod +x Â jrockit-jdk1.6.0_20-R28.1.0-4.0.1-linux-x64.bin.
When installation is done, you could run the MissionControl locally, by exporting the display of the WebLogic Linux server to you own desktop, or install a local MissionControl client on your desktop and connect to the remote WebLogic JVM
When starting JRMC, the following screen appears:
Inhere you can create your connections to you WebLogic JVM’s. When connecting remote, you should add the follwing startparameters for you JVM:
There are several components to be found in JMRC like:
– JRockit Browser: Browse several Â JRockit JVM instances and start monitoring through the Management Console or the Memory Leak Detector.
– Historical Data: For trendwatching; historical data is stored to get an overview over a longer amount of time
– JRockit Runtime Analyzer: to analyze recorded data with JRockit FlightRecorder
Don’t forget to enable use of your platform MBean, in the WebLogic Admin Console
– Memory Leak Detector: detect memory leaks within your application.
– Management Console: Â to monitor live data from the JRockit JVM. This tool allows you to monitor the running Java application, create triggers that notify you when condition is met and mail notifications
There are 2 more things to get JRMC working with your WebLogic Server
1. Do not forget to enable the Platform MBean and use of it in your WebLogic Admin Console. You can set it here:
2. Change the diagnostic volume form your WLDF Â to “High” Â in Environment – ->configuration –> general.
This is the setup part. Next time I will dive deeper into the different options of JRMC. Have fun!!