Wednesday, January 22, 2014

jboss EAP 6.2.0 Remote JMX monitoring in domain mode

In the domain.xml of the domain controller the profile of the server should contain the following:


            
               
               
               
           


On the host which runs the server a application user must be created with $JBOSS_HOME/bin/add_user.sh

The JMX port is defined in the socket-binding-group. For example if standard sockets is used than the jmx port is 4447. And with the port-offset it is possible to define differt ports for every server.

And now comes the trick. Install a jboss server on your machine with the same version. In the $JBOSS_HOME/bin there is an script jconsole.sh this script sets the right environment for jconsole (jars).

If jconsole is started the connection can be made:

service:jmx:remoting-jmx://ip_address:port


Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.