1 Reply Latest reply on Apr 1, 2013 4:25 AM by rob.stryker

    JMX Console (eclipse-jmx) cannot connect to JBoss 7.1.1 (Brontes)


      How do I configure the JMX Console plugin (eclipse-jmx from JBoss Tools) to add the JARs it needs to connect to JBoss7.1.1 with a service:jmx:remoting-jmx://host:9999 URL? Without the JARs for the JCA connector to tell it how to interpret the "remoting-jmx" protocol, it won't connect. It would need the JARs added by $JBOSS_HOME/bin/jconsole.sh, but I don't know how to modify an Eclipse plugin's "classpath" in Juno.


      Is there a way for the Create JMX Connection dialog to have a different type other than Default JMX Connection?

        • 1. Re: JMX Console (eclipse-jmx) cannot connect to JBoss 7.1.1 (Brontes)

          Unfotuantely the jmx tools alone are not sufficient to do this task. Not only do you have to load the jars, but for some versions of jboss, you also need to set credentials. The jmx tools have an api set up such that others can contribute extensions to it, and thats what we do in AS Tools / Servertools.


          To have jmx load up, you need to install the AS Tools / Servertools, not just jmx tools, and create a server. Once you create your server, the jmx view should get an entry for your server, but it won't expand or log in until you start your server. Once you start your server from the servers view, the jmx view should automatically connect to it and be expandable.


          Basically all the gorey details are hidden in the jmx/astools integration plugins and they should do all the work for you. But you are right: using the default connection wizard, you cannot do what you are trying to do.


          Hope this helps!