Sunday, September 28, 2014

Connecting and monotoring JMX of WSO2 products in EC2 instance

Most of the time current deployments are hosted in EC2 instance as it is very reliable and scalable. When it come to monitoring the WSO2 products via jmx in EC2 instances. You have to add some parameters inorder to connect with it.

add below parameters in /bin/ \ \ \ \
    -Djava.rmi.server.hostname=XXX.XXX.XXX.XXX \

Here port should be port that not used any where in the given instance and host-name should be private IP of the EC2 instances.

Access and monitor the server via Jconsole by JMX url connection that has the domain name and the jmx ports define in the carbon.xml