Adding Coherence Plugin in Java VisualVM

When you are working with Oracle Coherence, you can use Coherence plugin for Java VisualVM to monitor it.
In this post you will learn how to install Coherence Plugin in Java VisualVM.

You can download coherence-jvisualvm.nbm file here: http://coherence-community.github.io/coherence-incubator/12.1.0/jvisualvm/index.html.
If you have WebLogic and SOA Suite installed on your computer, you will find it in <WLS_OR_SOA_HOME>/coherence/plugins/jvisualvm folder.

adding-coherence-plugin-to-java-visualvm1

Go to Java Home, navigate to BIN folder and run jvisualvm file.

adding-coherence-plugin-to-java-visualvm2

In Java VisualVM, go to menu, choose Tools and then Plugins.

adding-coherence-plugin-to-java-visualvm3

In Downloaded tab, click Add Plugins and choose coherence-jvisualvm.nbm file.

adding-coherence-plugin-to-java-visualvm4

Click install.

adding-coherence-plugin-to-java-visualvm5

Click Next, accept the terms and then click Install.

adding-coherence-plugin-to-java-visualvm6

If you receive a Validation Warning, just click Continue and then click Finish.

adding-coherence-plugin-to-java-visualvm7

Done!
Now you can monitor your Oracle Coherence through Java VisualVM.
Do not forget to enable the JMX properties when you start your Oracle Coherence (using -jmx).

adding-coherence-plugin-to-java-visualvm8

adding-coherence-plugin-to-java-visualvm9

adding-coherence-plugin-to-java-visualvm10

adding-coherence-plugin-to-java-visualvm11

adding-coherence-plugin-to-java-visualvm12

Waslley Souza

Autor: Waslley Souza

Consultor Oracle com foco em tecnologias Oracle Fusion Middleware e SOA. Certificado Oracle WebCenter Portal, Oracle ADF e Java.

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *