even if it is better than before as we don't have a ClassCastException (see JBIDE-23869), as mentioned in my last comment the error reported by Jolokia when deployed on OpenShift is still swallowed.
I have another use case for which I have:
with stack in log
!ENTRY org.jboss.tools.jmx.core 4 0 2017-10-24 13:27:33.523 !MESSAGE An error occurred while opening the connection. !STACK 0 java.io.IOException: Remote error status=404 (Invalid status of type java.lang.String('Failure') received) at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.verifyServerReachable(JolokiaConnectionWrapper.java:326) at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.connect(JolokiaConnectionWrapper.java:115) 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:56) Caused by: org.jolokia.client.exception.J4pRemoteException: Invalid status of type java.lang.String('Failure') received at org.jolokia.client.request.ValidatingResponseExtractor.extract(ValidatingResponseExtractor.java:67) at org.jolokia.client.J4pClient.execute(J4pClient.java:195) 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:313) ... 4 more
although when using a Rest client i have this error which contains far more information:
{ "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", "message": "pods "camel-ose-springboot-xml-3-t99hx" not found", "reason": "NotFound", "details": { "name": "camel-ose-springboot-xml-3-t99hx", "kind": "pods" }, "code": 404 }
- blocks
-
FUSETOOLS-2621 Not working server adapter for project on openshift
- Open
- relates to
-
JBIDE-23869 ClassCastException with Jolokia connection
- Closed