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

Camel-hl7 quickstart fails to install with new fuse-karaf

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.3
    • Fix Version/s: fuse-7.3
    • Component/s: Examples
    • Labels:
      None

      Description

      Use fuse-karaf of version fuse-karaf-7.3.0.fuse-730050
      with karaf karaf-4.2.0.fuse-730021
      and karaf-quickstarts-7.3.0.fuse-730008

      Installation of quickstart ends with

       Error occurred during starting CamelContext: camel-1
      org.apache.camel.FailedToCreateRouteException: Failed to create route hl7MainRoute at: >>> OnException[null -> [Log[Got an exception: ${exception.message}], Transform[ref{ackGenerator}], Marshal[org.apache.camel.model.dataformat.HL7DataFormat@355603c6], Log[HL7 Response: ${body}]]] <<< in route: Route(hl7MainRoute)[[From[direct:hl7Main]] -> [OnException[n... because of ca.uhn.hl7v2.HL7Exception
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1303) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:204) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:1143) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3729) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3443) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:209) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3251) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3247) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3270) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3247) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3163) ~[62:org.apache.camel.camel-core:2.21.0.fuse-730051]
      	at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:255) ~[60:org.apache.camel.camel-blueprint:2.21.0.fuse-730051]
      	at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:297) ~[60:org.apache.camel.camel-blueprint:2.21.0.fuse-730051]
      	at org.apache.camel.blueprint.BlueprintCamelContext.blueprintEvent(BlueprintCamelContext.java:188) [60:org.apache.camel.camel-blueprint:2.21.0.fuse-730051]
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:190) [51:org.apache.aries.blueprint.core:1.10.1]
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:188) [51:org.apache.aries.blueprint.core:1.10.1]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
      	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) [?:?]
      Caused by: java.lang.ClassNotFoundException: ca.uhn.hl7v2.HL7Exception
      	at org.apache.camel.impl.DefaultClassResolver.resolveMandatoryClass(DefaultClassResolver.java:88) ~[?:?]
      	at org.apache.camel.model.OnExceptionDefinition.createExceptionClasses(OnExceptionDefinition.java:1033) ~[?:?]
      	at org.apache.camel.model.OnExceptionDefinition.addRoutes(OnExceptionDefinition.java:192) ~[?:?]
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1300) ~[?:?]
      	... 26 more
      

      Bundle is not started.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jondruse Jiri Ondrusek
                  Reporter:
                  jondruse Jiri Ondrusek
                  Tester:
                  Jan Kasztura
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: