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

[REGRESSION] Unable to run camel-servicenow on spring-boot

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.3
    • Fix Version/s: fuse-7.3
    • Component/s: Camel
    • Labels:
      None
    • Sprint:
      Fuse 7.3 Sprint 40 - Dev #1
    • Steps to Reproduce:
      Hide

      See attached reproducer

      Show
      See attached reproducer

      Description

      With

      <version.redhat.fuse>7.2.0.fuse-720020-redhat-00001</version.redhat.fuse>
      rted Application in 2.176 seconds (JVM running for 4.072)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.346 s
      [INFO] Finished at: 2019-01-09T10:28:26+01:00
      [INFO] Final Memory: 40M/463M
      [INFO] ------------------------------------------------------------------------
      

      With

      <version.redhat.fuse>7.3.0.fuse-730012</version.redhat.fuse> 
      Caused by: org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: servicenow://instance?password=xxxxxx&userName=qe. Reason: java.lang.NoClassDefFoundError: javax/ws/rs/client/RxInvoker
      	at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:584)
      	at org.apache.camel.impl.ProducerCache.acquireProducer(ProducerCache.java:168)
      	at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:248)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
      	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60)
      	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
      	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90)
      	at org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1472)
      	at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:44)
      	at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:31)
      	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
      	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60)
      	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
      	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90)
      	at org.apache.camel.processor.interceptor.DefaultChannel.doStart(DefaultChannel.java:160)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
      	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60)
      	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
      	at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90)
      	at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:80)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
      	at org.apache.camel.impl.RouteService.startChildService(RouteService.java:370)
      	at org.apache.camel.impl.RouteService.doWarmUp(RouteService.java:196)
      	at org.apache.camel.impl.RouteService.warmUp(RouteService.java:145)
      	... 32 more
      Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/client/RxInvoker
      	at org.apache.camel.component.servicenow.ServiceNowClient.<init>(ServiceNowClient.java:53)
      	at org.apache.camel.component.servicenow.AbstractServiceNowProcessor.<init>(AbstractServiceNowProcessor.java:52)
      	at org.apache.camel.component.servicenow.releases.helsinki.HelsinkiServiceNowTableProcessor.<init>(HelsinkiServiceNowTableProcessor.java:38)
      	at org.apache.camel.component.servicenow.releases.helsinki.HelsinkiServiceNowProducer.<init>(HelsinkiServiceNowProducer.java:31)
      	at org.apache.camel.component.servicenow.ServiceNowRelease$3.get(ServiceNowRelease.java:38)
      	at org.apache.camel.component.servicenow.ServiceNowEndpoint.createProducer(ServiceNowEndpoint.java:53)
      	at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:573)
      	... 58 more
      Caused by: java.lang.ClassNotFoundException: javax.ws.rs.client.RxInvoker
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Thomas Cunningham
                  Reporter:
                  jbouska Jan Bouska
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: