Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13127

Camel-Fhir-Example-osgi doesn't work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 3.0.0-M1
    • Component/s: examples
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      12:47:27.332 WARN [pipe-install -s mvn:org.apache.camel.example/camel-example-fhir-osgi/3.0.0-SNAPSHOT] Listener caused an exception, will be ignored
      java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/apache/camel/util/concurrent/ThreadPoolRejectedPolicy
      at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
      at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:?]
      at java.util.concurrent.AbstractExecutorService.doInvokeAny(AbstractExecutorService.java:193) ~[?:?]
      at java.util.concurrent.AbstractExecutorService.invokeAny(AbstractExecutorService.java:225) ~[?:?]
      at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper$4.call(ScheduledExecutorServiceWrapper.java:185) ~[48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper$15.call(ScheduledExecutorServiceWrapper.java:446) ~[48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.utils.threading.RWLock.runReadOperation(RWLock.java:33) ~[48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper.runUnlessShutdown(ScheduledExecutorServiceWrapper.java:443) ~[48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper.invokeAny(ScheduledExecutorServiceWrapper.java:180) ~[48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintEventDispatcher.callListener(BlueprintEventDispatcher.java:188) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintEventDispatcher.callListeners(BlueprintEventDispatcher.java:178) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintEventDispatcher.blueprintEvent(BlueprintEventDispatcher.java:133) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:427) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:278) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:299) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:268) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:264) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:254) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) [48:org.apache.aries.blueprint.core:1.10.1]
      at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179) [?:?]
      at org.apache.felix.framework.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:730) [?:?]
      at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:485) [?:?]
      at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4579) [?:?]
      at org.apache.felix.framework.Felix.startBundle(Felix.java:2174) [?:?]
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) [?:?]
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) [?:?]
      at org.apache.karaf.bundle.command.Install.execute(Install.java:115) [17:org.apache.karaf.bundle.core:4.2.2]
      at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) [35:org.apache.karaf.shell.core:4.2.2]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) [35:org.apache.karaf.shell.core:4.2.2]
      at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) [35:org.apache.karaf.shell.core:4.2.2]
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) [35:org.apache.karaf.shell.core:4.2.2]
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) [35:org.apache.karaf.shell.core:4.2.2]
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) [35:org.apache.karaf.shell.core:4.2.2]
      at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) [35:org.apache.karaf.shell.core:4.2.2]
      at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [35:org.apache.karaf.shell.core:4.2.2]
      at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [35:org.apache.karaf.shell.core:4.2.2]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
      at java.lang.Thread.run(Thread.java:748) [?:?]
      Caused by: java.lang.NoClassDefFoundError: org/apache/camel/util/concurrent/ThreadPoolRejectedPolicy
      at org.apache.camel.spi.ThreadPoolProfile.getRejectedExecutionHandler(ThreadPoolProfile.java:225) ~[?:?]
      at org.apache.camel.support.DefaultThreadPoolFactory.newScheduledThreadPool(DefaultThreadPoolFactory.java:100) ~[?:?]
      at org.apache.camel.impl.DefaultExecutorServiceManager.newScheduledThreadPool(DefaultExecutorServiceManager.java:242) ~[?:?]
      at org.apache.camel.impl.DefaultExecutorServiceManager.newScheduledThreadPool(DefaultExecutorServiceManager.java:266) ~[?:?]
      at org.apache.camel.support.DefaultScheduledPollConsumerScheduler.doStart(DefaultScheduledPollConsumerScheduler.java:172) ~[?:?]
      at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:86) ~[?:?]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:55) ~[?:?]
      at org.apache.camel.support.ScheduledPollConsumer.doStart(ScheduledPollConsumer.java:439) ~[?:?]
      at org.apache.camel.component.file.GenericFileConsumer.doStart(GenericFileConsumer.java:707) ~[?:?]
      at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:86) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.startService(AbstractCamelContext.java:3631) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.doStartOrResumeRouteConsumers(AbstractCamelContext.java:3949) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.doStartRouteConsumers(AbstractCamelContext.java:3884) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.safelyStartRouteServices(AbstractCamelContext.java:3804) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.doStartOrResumeRoutes(AbstractCamelContext.java:3568) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:3420) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.lambda$doStart$2(AbstractCamelContext.java:3217) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.doWithDefinedClassLoader(AbstractCamelContext.java:3234) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.doStart(AbstractCamelContext.java:3215) ~[?:?]
      at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:86) ~[?:?]
      at org.apache.camel.impl.AbstractCamelContext.start(AbstractCamelContext.java:3131) ~[?:?]
      at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:251) ~[?:?]
      at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:293) ~[?:?]
      at org.apache.camel.blueprint.BlueprintCamelContext.blueprintEvent(BlueprintCamelContext.java:184) ~[?:?]
      at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:190) ~[?:?]
      at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:188) ~[?:?]
      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) ~[?:?]
      ... 3 more
      

        Attachments

          Activity

            People

            • Assignee:
              jpoth John Poth
              Reporter:
              acosentino Andrea Cosentino
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: