]
Rob Stryker reassigned JBIDE-24386:
-----------------------------------
Assignee: Rob Stryker
Improve Error Reporting - org.jboss.tools.jmx.jolokia
-----------------------------------------------------
Key: JBIDE-24386
URL:
https://issues.jboss.org/browse/JBIDE-24386
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: jmx
Affects Versions: 4.4.4.AM3
Environment: DevStudio 10.4.0.AM3
jolokia-jvm-1.3.6-agent.jar
Reporter: Tomáš Sedmík
Assignee: Rob Stryker
Fix For: 4.5.0.AM2
Attachments: jolokia.webm
I was unable to connect to a Camel Route via Jolokia. I got the following error in Error
Log (see attached video). I have to enable _Do NOT verify SSL Certificates_ in connection
details to solve this problem.
The error log could be more descriptive and could notify users where might be a problem.
{code}
eclipse.buildId=10.4.0.GA-v20170427-0526-B16
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.devstudio.core.product -pluginCustomization
/home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CR1/resources/pluginCustomization.ini
Command-line arguments: -os linux -ws gtk -arch x86_64 -product
com.jboss.devstudio.core.product -pluginCustomization
/home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CR1/resources/pluginCustomization.ini
-data /home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CR1/target/tmp -clean
org.jboss.tools.jmx.core
Error
Tue May 02 19:14:31 CEST 2017
Error executing JMX request.
java.io.IOException: org.jolokia.client.exception.J4pRemoteException: Not Found
at
org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.queryNames(JolokiaMBeanServerConnection.java:140)
at org.jboss.tools.jmx.core.tree.NodeUtils$1.run(NodeUtils.java:58)
at
org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.run(JolokiaConnectionWrapper.java:335)
at org.jboss.tools.jmx.core.tree.NodeUtils.createObjectNameTree(NodeUtils.java:54)
at
org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.loadRoot(JolokiaConnectionWrapper.java:141)
at
org.jboss.tools.jmx.ui.internal.views.navigator.MBeanExplorerContentProvider$1.run(MBeanExplorerContentProvider.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.jolokia.client.exception.J4pRemoteException: Not Found
at org.jolokia.client.J4pClient.extractJsonResponse(J4pClient.java:278)
at org.jolokia.client.J4pClient.execute(J4pClient.java:191)
at org.jolokia.client.J4pClient.execute(J4pClient.java:168)
at
org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.queryNames(JolokiaMBeanServerConnection.java:135)
... 6 more
{code}