-
Bug
-
Resolution: Done
-
Critical
-
11.12.0
-
None
-
- 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
- is duplicated by
-
FUSETOOLS-3541 Can not expand the "JMX[connected" tree in "Servers" tab with Fuse 7.9 karaf
-
- Closed
-