Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12032

JMX connection to remote AS7 not working even with -Dmanagement set up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • 3.3.0.CR1
    • 3.3.0.CR1
    • server
    • None

      JMX connection to remote AS7 server is broken again
      It may have to do with JBIDE-11921 or JBIDE-12028.
      When you start a remote AS7 server with both "Listen on all interfaces" and "Expose your management port" checked and then try to expand the server in MBean Explorer, it displays "Loading" for a while and then errors with:

      !ENTRY org.jboss.ide.eclipse.as.core 4 0 2012-05-28 13:25:21.013
      !MESSAGE Unable to reach JBoss instance. Please ensure your server is up and exposes its management ports via the -Djboss.bind.address.management=yourwebsite.com system property
      !STACK 1
      org.jboss.tools.jmx.core.JMXException: Unable to reach JBoss instance. Please ensure your server is up and exposes its management ports via the -Djboss.bind.address.management=yourwebsite.com system property
      	at org.jboss.ide.eclipse.as.jmx.integration.JBoss71ServerConnection.createConnection(JBoss71ServerConnection.java:78)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:138)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:122)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:105)
      	at org.jboss.tools.jmx.core.tree.NodeUtils.createObjectNameTree(NodeUtils.java:51)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.loadRoot(JBossServerConnection.java:87)
      	at org.jboss.tools.jmx.ui.internal.views.navigator.MBeanExplorerContentProvider$1.run(MBeanExplorerContentProvider.java:110)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      Caused by: java.lang.RuntimeException: Operation failed with status WAITING
      	at org.jboss.remotingjmx.RemotingConnector.connect(RemotingConnector.java:154)
      	at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBoss71ServerConnection.createConnection(JBoss71ServerConnection.java:67)
      	... 7 more
      !SUBENTRY 1 org.jboss.ide.eclipse.as.core 4 0 2012-05-28 13:25:21.014
      !MESSAGE Unable to reach JBoss instance. Please ensure your server is up and exposes its management ports via the -Djboss.bind.address.management=yourwebsite.com system property
      !STACK 0
      java.lang.RuntimeException: Operation failed with status WAITING
      	at org.jboss.remotingjmx.RemotingConnector.connect(RemotingConnector.java:154)
      	at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBoss71ServerConnection.createConnection(JBoss71ServerConnection.java:67)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:138)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:122)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:105)
      	at org.jboss.tools.jmx.core.tree.NodeUtils.createObjectNameTree(NodeUtils.java:51)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.loadRoot(JBossServerConnection.java:87)
      	at org.jboss.tools.jmx.ui.internal.views.navigator.MBeanExplorerContentProvider$1.run(MBeanExplorerContentProvider.java:110)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      (Yes, two errors - perhaps for the two intended connections?)

      Also, the start poller was set to Web Poller, as the default JBoss 7 Manager Service currently doesn't work due to JBIDE-12028

              exd-mmalina Martin Malina
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: