How to Monitor Coherence-Based Applications using JRockit Mission Control
By Csoto-Oracle on Aug 18, 2010
You can start JRockit Mission Control (JRMC) before the Coherence cluster. If you do that, then the Coherence nodes and clients will appear in the JVM browser section (at the left on the screen) when they are started up.
1. Go to your Coherence installation directory.
2. Start a Coherence cluster node, (coherence.jar must be added to the classpath):
java -showversion -server -Xmx350m -cp lib/coherence.jar
com.tangosol.net.DefaultCacheServer3. Start a coherence cache client with no local storage:
java -cp lib/coherence.jar
4. You can start more Coherence nodes, in the same way that on the previous steps.
5. If you have not started JRMC yet, then start it now.
6. Select the Coherence node or client that you want to monitor. Right-click on it and select "Start Console" (in the same way you can perform memory leaks and record runtime analysis).
7. If you have set a node with the management parameters, then you will be able to see the MBeans information.
Despite JRMC can monitor Java applications running on other JVMs different than JRockit (e.g. the Sun JVM), it is recommended to use JRockit on the Coherence nodes to make sure the JRMC monitoring will work fine and can use all of its functional features.