How to Monitor Coherence-Based Applications using JRockit Mission Control


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

-Dcom.sun.management.jmxremote

-Dtangosol.coherence.management=all

-Dtangosol.coherence.management.remote=true

com.tangosol.net.DefaultCacheServer

3. Start a coherence cache client with no local storage:

java -cp lib/coherence.jar

-Dtangosol.coherence.distributed.localstorage=false

com.tangosol.net.CacheFactory

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).
primera.jpg


7. If you have set a node with the management parameters, then you will be able to see the MBeans information.
segunda.jpg



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.


Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About


Principal Technical Support Engineer in the Exalogic Enterprise Support Team (EEST).

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today