cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to monitor a JCC

hpv
Former Employee

If you want to monitor a JCC, please follow the following instructions:

Prerequisite:

  1. jmxremote_optional-repackaged-3.1.1.jar (If you compile jcc locally, you will have this library at ~/.m2/repository/org/glassfish/external/jmxremote_optional-repackaged/3.1.1/jmxremote_optional-repackaged-3.1.1.jar)

  2. Monitoring tool like jvisualvm or jconsole

Run the following command in the shell:

jvisualvm -cp:a <path_to_jmxremote_optional-repackaged-3.1.1.jar> "$@"

Eg : jvisualvm -cp:a ~/.m2/repository/org/glassfish/external/jmxremote_optional-repackaged/3.1.1/jmxremote_optional-repackaged-3.1.1.jar โ€œ$@โ€

3.Once the UI comes up, Click on add remote connection and enter the following service uri:

service:jmx:jmxmp://<fq_host_name>:8082

eg : for alpha-jcc2.clouddev.snaplogic.com
service:jmx:jmxmp://alpha-jcc2.clouddev.snaplogic.com:8082

1 REPLY 1

brettdorsey
New Contributor III

HPV,

Thanks for the detailed instructions on monitoring a JCC!

What kind of situations would this be useful for us implementing?

Just trying understand what I donโ€™t know ๐Ÿ™‚