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

JMX connection to remote server does not work (fs operations, no runtime)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.4.1.Final
    • 4.4.1.AM2
    • jmx
    • None
    • devex #119 August 2016
    • 4
    • Hide

      1. Set up a remote wildfly 8.2 server via ssh (fs operations, no runtime)
      2. Make sure credentials are correctly set up in Server editor
      3. Start the server
      4. Try to connect to jmx by double-clicking the server in JMX navigator
      You will see this in the error log:

      Error connecting to jmx for server WildFly  8.x
      java.lang.NullPointerException
      	at org.jboss.ide.eclipse.as.jmx.integration.AS71JMXClassLoaderRepository.createClassLoader(AS71JMXClassLoaderRepository.java:25)
      	at org.jboss.ide.eclipse.as.jmx.integration.JMXClassLoaderRepository.loadClassLoader(JMXClassLoaderRepository.java:102)
      	at org.jboss.ide.eclipse.as.jmx.integration.JMXClassLoaderRepository.getClassLoader(JMXClassLoaderRepository.java:91)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:193)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:162)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.connectToStartedServer(JBossServerConnection.java:332)
      	at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.connect(JBossServerConnection.java:76)
      	at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
      	at org.jboss.tools.jmx.ui.internal.actions.DoubleClickAction$1.run(DoubleClickAction.java:71)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      
      Show
      1. Set up a remote wildfly 8.2 server via ssh (fs operations, no runtime) 2. Make sure credentials are correctly set up in Server editor 3. Start the server 4. Try to connect to jmx by double-clicking the server in JMX navigator You will see this in the error log: Error connecting to jmx for server WildFly 8.x java.lang.NullPointerException at org.jboss.ide.eclipse.as.jmx.integration.AS71JMXClassLoaderRepository.createClassLoader(AS71JMXClassLoaderRepository.java:25) at org.jboss.ide.eclipse.as.jmx.integration.JMXClassLoaderRepository.loadClassLoader(JMXClassLoaderRepository.java:102) at org.jboss.ide.eclipse.as.jmx.integration.JMXClassLoaderRepository.getClassLoader(JMXClassLoaderRepository.java:91) at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:193) at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.run(JBossServerConnection.java:162) at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.connectToStartedServer(JBossServerConnection.java:332) at org.jboss.ide.eclipse.as.jmx.integration.JBossServerConnection.connect(JBossServerConnection.java:76) at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29) at org.jboss.tools.jmx.ui.internal.actions.DoubleClickAction$1.run(DoubleClickAction.java:71) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Description

      I wanted to replicate JBIDE-17181 today. And I cannot replicate that problem.
      But I noticed that jmx connection to a remote wf 8.2 with fs operations doesn't seem to work. I thought there was a long standing issue open for this already, but it turns out this other JIRA is for management mode: JBIDE-20108

      So it seems that neither works right now.

      Attachments

        Issue Links

          Activity

            People

              rob.stryker Rob Stryker (Inactive)
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: