0 Replies Latest reply on Nov 10, 2010 11:35 AM by ngochai

    Servicemix remote jmx

    ngochai

      On the servicemix machine:

      -


      dv4:~#hostname

      dv4

       

      dv4:~# netstat -nat | grep 1099

      tcp        0      0 0.0.0.0:1099            0.0.0.0:*               LISTEN

       

      dv4:~# iptables -L

      Chain INPUT (policy ACCEPT)

      target     prot opt source               destination        

       

      Chain FORWARD (policy ACCEPT)

      target     prot opt source               destination        

       

      Chain OUTPUT (policy ACCEPT)

      target     prot opt source               destination

      -


      my etc/org.apache.felix.karaf.management.cfg:

       

      rmiRegistryPort = 1099

      jmxRealm = karaf

      serviceUrl = service:jmx:rmi:///jndi/rmi://0.0.0.0:$/karaf-${karaf.name}

      daemon = true

      threaded = true

      objectName = connector:name=rmi

      -


      etc/users.properties:

      smx=smx,admin

      karaf=karaf,admin

       

      On the servicemix machine, I can use either service:jmx:rmi:///jndi/rmi://dv4:1099/karaf-root or  service:jmx:rmi:///jndi/rmi://192.168.1.11:1099/karaf-root to connect using jconsole

      But on a remote machine (same LAN) I cant connect to the servicemix machine using either two adresses above or the simple host:port

      I can telnet to it remotely though

       

      $ telnet dv4 1099

      Trying 192.168.1.11...

      Connected to dv4.

      Escape character is '^]'.

       

      I'm running apache servicemix 4.2.0 fuse 02

      On Sun jdk 1.6. Debian i686

       

      What's wrong?

       

      Edited by: ngochai on Nov 10, 2010 4:33 PM