2 Replies Latest reply on Jun 25, 2010 10:12 AM by makkoca

    rhq agent cannot discover jmx server

    makkoca

      I followed the instructions on http://jopr.org/display/JOPR2/JMX+Server for monitoring jboss mbeans on Jopr server. Now i can see the jboss mbeans trough the jconsole but can't see in jopr server. I tried restarting server and agent but still there is no jmx server in the inventory of agent and server.

       

      Here are my environment info and jvm arguments, 

       

      Solaris + jdk1.6.0_16 + JBoss 4.2.3

       

      JAVA_OPTS="-Dcom.sun.management.jmxremote.port=19988 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"

       

      What am I missing?

      Thanks

        • 1. Re: rhq agent cannot discover jmx server
          mazz

          Those are all the system properties I can think of, they look like they are set correctly. The JMX plugin isn't auto-discovering the remote JMX server running inside JBoss - check firewalls, and that the agent can ping the IP that the JBossAS JMX Server bound its remote listener to (that's probably not it - usually it will default to "localhost" so that shouldn't be a problem, but I've seen firewalls do things that I never expect so, I bring it up just in case)

           

          You can read this blog - perhaps it has some hints for you to try? This does NOT involve  remoting JBoss's JMX Server - it just talks about generic remote JMX Servers, so it may not be too helpful, but you never know:

           

          http://management-platform.blogspot.com/2008/11/monitoring-custom-jmx-mbeans-with-jopr.html

          • 2. Re: rhq agent cannot discover jmx server
            makkoca

            I was expecting agent can discover the jmx server automatically. I started to see the jvm after manually adding jmx server to inventory.

            Thanks for help.