1 Reply Latest reply on Aug 10, 2010 2:15 AM by gertv

    remote JMX monitoring

    raflik

      Hi,

       

      Please help me configure remote JMX access to ESB instance. I can successfully connect locally but remote login attempts fail.

       

      I tried to make use of this guide:

       

      http://onjava.com/pub/a/onjava/2004/09/29/tigerjmx.html?page=2

       

      but I am a bit confused which credentials are in use in this scenario: from jmxremote.password, org.apache.felix.karaf.management.cfg or etc/users.properties?

       

      Besides, how to supply those -D parameters to servicemix starting script? Or maybe I should do that differently?

       

      Network issues do not occur in my case - I can telnet to the JMX port on the remote machine.

       

      Any help would be greatly appreciated:).

        • 1. Re: remote JMX monitoring
          gertv

          L.S.,

           

          You should not have to do anything special to allow remote connections to your FUSE ESB installation.

           

          In order to remotely connect to ServiceMix with jconsole, you have to use a JMX URL that looks like this:

          service:jmx:rmi:///jndi/rmi://<host name>:1099/karaf-root
          

           

          If you have created additional instance of ServiceMix through the admin:create command, you can connect to those instances using the instance name at the end of the URL, e.g. for an instance called 'test'

          service:jmx:rmi:///jndi/rmi://<host name>:1099/karaf-test
          

           

          Regards,

           

          Gert Vanthienen