Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8479

cdi-cxf fabric8-cxf CNFE com.fasterxml.jackson.module.jsonSchema.JsonSchemaGenerator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • Future
    • FIS 1.0 - OpenShift Fuse 3.1-GA
    • None
    • % %
    • CDI images are deprecated

      invoking getJSONSchema method on

      io.fabric8.cxf:bus.id=cxf1361393151,type=Bus.Service.Endpoint,service="{http://qe.xpaas.redhat.com/}CustomerService",port="CustomerService",instance.id=1901238627
      

      via hawt.io / jolokia fails with the following exception in the logs:

      Nov 06, 2015 8:55:34 AM io.fabric8.cxf.endpoint.JsonSchemaLookup getSchemaForClass
      INFO: Looking up schema for com.redhat.xpaas.qe.Customer
      Nov 06, 2015 8:55:34 AM io.fabric8.cxf.endpoint.ManagedApi getJSONSchema
      WARNING: getJSONSchema failed.
      java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/jsonSchema/JsonSchemaGenerator
      	at io.fabric8.cxf.endpoint.JsonSchemaLookup.getSchemaForClass(JsonSchemaLookup.java:84)
      	at io.fabric8.cxf.endpoint.ManagedApi.getJSONSchema(ManagedApi.java:186)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
      	at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1252)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1246)
      	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1085)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
      	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
      	at org.jolokia.handler.ExecHandler.doHandleRequest(ExecHandler.java:98)
      	at org.jolokia.handler.ExecHandler.doHandleRequest(ExecHandler.java:40)
      	at org.jolokia.handler.JsonRequestHandler.handleRequest(JsonRequestHandler.java:89)
      	at org.jolokia.backend.MBeanServerExecutorLocal.handleRequest(MBeanServerExecutorLocal.java:109)
      	at org.jolokia.backend.MBeanServerHandler.dispatchRequest(MBeanServerHandler.java:159)
      	at org.jolokia.backend.LocalRequestDispatcher.dispatchRequest(LocalRequestDispatcher.java:99)
      	at org.jolokia.backend.BackendManager.callRequestDispatcher(BackendManager.java:411)
      	at org.jolokia.backend.BackendManager.handleRequest(BackendManager.java:158)
      	at org.jolokia.http.HttpRequestHandler.executeRequest(HttpRequestHandler.java:197)
      	at org.jolokia.http.HttpRequestHandler.handlePostRequest(HttpRequestHandler.java:137)
      	at org.jolokia.jvmagent.handler.JolokiaHttpHandler.executePostRequest(JolokiaHttpHandler.java:283)
      	at org.jolokia.jvmagent.handler.JolokiaHttpHandler.doHandle(JolokiaHttpHandler.java:223)
      	at org.jolokia.jvmagent.handler.JolokiaHttpHandler.handle(JolokiaHttpHandler.java:169)
      	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
      	at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
      	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
      	at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
      	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
      	at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:645)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

              Unassigned Unassigned
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: