Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23869

ClassCastException with Jolokia connection

    XMLWordPrintable

Details

    • devex #128 February 2017, devex #130 April 2017, devex #137 September 2017
    • 10
    • Hide
      Show
      install JBDS with the CDK (using the DevStudio installer for instance, so using CDK 2.x) Deploy a FIS project on OpenShift (see https://www.youtube.com/watch?v=Ko4mNaQsCvI ) Try to connect to the jolokia instance through JMX Navigator, right-click Add connection... and use Jolokia use something like: https://10.1.2.2:8443/api/v1/namespaces/test1/pods/camel-ose-springboot-xml-1-xgu2e:8778/proxy/jolokia/ without checking SSL certificates

    Description

      !ENTRY org.eclipse.core.jobs 4 2 2017-02-06 13:52:39.767
      !MESSAGE An internal error occurred during: "Connect Job".
      !STACK 0
      java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
      	at org.jolokia.client.request.ValidatingResponseExtractor.extract(ValidatingResponseExtractor.java:58)
      	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:315)
      	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)
      

      Attachments

        Issue Links

          Activity

            People

              jmaury@redhat.com Jeff MAURY
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: