-
Enhancement
-
Resolution: Done
-
Major
-
4.4.2.AM3
-
devex #126 January 2017
-
8
Most likely server adapters for non-java based apps should not have a jmx node.
Steps to reproduce:
- ASSERT: make sure that you have a nodejs app (with a service) running in OpenShift (ex. created via nodejs-example template)
- ASSERT: make sure the build is finished, the pod is running.
- ASSERT: make sure that you have a server adapter for your service
- ASSERT: make sure that it is in "[Started, Synchronized]" state)
- EXEC: unfold the server adapter and double click on the JMX child
Result:
An error shows up
java.io.IOException: org.jolokia.client.exception.J4pRemoteException: Service Unavailable at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.verifyServerReachable(JolokiaConnectionWrapper.java:328) at org.jboss.tools.openshift.core.server.OpenshiftJMXConnectionProvider$1.verifyServerReachable(OpenshiftJMXConnectionProvider.java:83) at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.connect(JolokiaConnectionWrapper.java:111) 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) Caused by: org.jolokia.client.exception.J4pRemoteException: Service Unavailable 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.jolokia.client.J4pClient.execute(J4pClient.java:117) at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.verifyServerReachable(JolokiaConnectionWrapper.java:315)
- relates to
-
JBIDE-23429 Jolokia JMX connection
- Closed