Sunday, February 22, 2015

Monitoring WSO2 ESB using Jconsole



To do this you need start the ESB server using wso2server.sh or wso2server.bat file. 

Before entering to the jconsole you need to know jmx rmi ports that are exposed to monitoring services.
There is two way to do that,

1.       In the carbon.xml file, jmx rmi default ports mentioned after port offset node. If you are not changing the portoffset (0) you can take default ports to use in jconsole. But if you change the portoffset you need to add additional value to the default port.

2.       When server starting you can check in the log file (ESBhome/repository/logs/wso2carbon.log). Within first 10 sentences you can find those ports.

Now start your command prompt, 

type ‘jconsole’, 

it will open jconsole ui.

Now you can type address in the remote process like below,

·         service:jmx:rmi://<serverName>:11113/jndi/rmi://<serverName>:10001/jmxrmi
Type your carbon console username and password under the address.

Now click connect. It will ask you to connect without ssl connection. 
Click ok.

Now you can monitor the server using jconsole.

1 comment:

  1. I feel one should always try to understand how necessary it is to look for more of Power BI aspects that break down complex problems easily and segregate them to produce error free results.

    Powerbi Read Soap

    ReplyDelete