1 Reply Latest reply on Oct 24, 2014 5:47 AM by vandamo

    Remote JConsole connection fails with clean installation

    mfernandezmartinez

      Hi!

       

      I'm trying to use jconsole to monitor a remote JBoss EAP 6.2. However, I'm unable to connect to it.

       

      These are the steps I have followed:

       

      JBoss Server: Machine A (Win2k8 R2 + Oracle Java 1.7.0-b147) IP: 10.x.x.a:

      -> Download JBoss EAP 6.2

      -> Unzip it

      -> Edit standalone.xml and standalone-full changing all the listeners from 127.0.0.1 to externet IP: 10.x.x.a

      -> Start standalone.bat

      -> Add a Management user.

      -> If I execute bin/jconsole.bat and connect to: service:jmx:remoting-jmx://10.x.x.a:9999 (with user and password), everything is OK.

       

      Client: Machine B (Win 7 + Oracle Java 1.7.0_45-b18) IP: 10.x.x.b:

      -> Download JBoss EAP 6.2 (just to use the jconsole.bat included).

      -> Unzip it

      -> I execute bin/jconsole.bat and when I try to connecto to "service:jmx:remoting-jmx://10.x.x.a:9999" (with user and password), it says "Connection failed".

       

      What am I doing wrong?

       

      Thank you!

        • 1. Re: Remote JConsole connection fails with clean installation
          vandamo

          Hi Miguel, should be working, the method is basically the same between your local test and your remote test.

           

          What is the result if you attempt to telnet from the client to the server machine on port 9999?

           

          I'd see more of a "firewall" issue here (local service on the server machine that would block the port for external access for example)