Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3497

JMX node in servers view doesn't work with Fuse 7.9

XMLWordPrintable

      • create a Fuse 7.9 server
      • run the server via the Start button in the servers view
      • expand the servers node to make the JMX node visible
      • invoke context menu Connect on the JMX node
    • undefined

      After starting a Fuse 7.9 server via the servers view the shell is opened fine and the server is marked as running. When clicking on the JMX subnode and doing a Connect the connection is opened but I receive errors.

      The subnodes of the JMX node are not loaded at all.
      In the shell / console view of the parent eclipse instance the output is flooded with messages like this one:

      !ENTRY org.fusesource.ide.jmx.karaf 4 4 2021-08-17 12:40:41.199
      !MESSAGE Bad URL path: ${env:ORG_APACHE_KARAF_MANAGEMENT_RMISERVERHOST:-127.0.0.1}:${env:ORG_APACHE_KARAF_MANAGEMENT_RMISERVERPORT:-44444}/jndi/rmi://${env:ORG_APACHE_KARAF_MANAGEMENT_RMIREGISTRYHOST:-127.0.0.1}:${env:ORG_APACHE_KARAF_MANAGEMENT_RMIREGISTRYPORT:-1099}/karaf-root
      !STACK 0
      java.net.MalformedURLException: Bad URL path: ${env:ORG_APACHE_KARAF_MANAGEMENT_RMISERVERHOST:-127.0.0.1}:${env:ORG_APACHE_KARAF_MANAGEMENT_RMISERVERPORT:-44444}/jndi/rmi://${env:ORG_APACHE_KARAF_MANAGEMENT_RMIREGISTRYHOST:-127.0.0.1}:${env:ORG_APACHE_KARAF_MANAGEMENT_RMIREGISTRYPORT:-1099}/karaf-root
      	at java.management/javax.management.remote.JMXServiceURL.validate(JMXServiceURL.java:458)
      	at java.management/javax.management.remote.JMXServiceURL.validate(JMXServiceURL.java:463)
      	at java.management/javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:232)
      	at org.fusesource.ide.jmx.karaf.connection.KarafServerConnection.createConnection(KarafServerConnection.java:185)
      	at org.fusesource.ide.jmx.karaf.connection.KarafServerConnection.run(KarafServerConnection.java:168)
      	at org.fusesource.ide.jmx.karaf.connection.KarafServerConnection.run(KarafServerConnection.java:156)
      	at org.fusesource.ide.jmx.karaf.connection.KarafServerConnection.run(KarafServerConnection.java:148)
      	at org.fusesource.ide.jmx.karaf.connection.KarafServerConnection.run(KarafServerConnection.java:142)
      	at org.jboss.tools.jmx.core.tree.NodeUtils.createObjectNameTree(NodeUtils.java:54)
      	at org.fusesource.ide.jmx.karaf.connection.KarafServerConnection.loadRoot(KarafServerConnection.java:108)
      	at org.jboss.tools.jmx.ui.internal.views.navigator.MBeanExplorerContentProvider$1.run(MBeanExplorerContentProvider.java:211)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      

      The flooding ends when disconnecting from JMX.

      Tooling version: latest master branch
      Java Version: Java 11
      Java Version used for running the server (defined in Runtime): Java 11

              apupier@redhat.com Aurélien Pupier
              lheinema@redhat.com Lars Heinemann
              Dominik Jelínek Dominik Jelínek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: