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

FuseByExample camel-dynamic-routing install dynamic-routing-newservice gets ClassNotFoundException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.1
    • None
    • None
    • None
    • % %

      I get the exception below in the Fuse log when I run "features:install dynamic-routing-newservice" in the camel-dynamic-routing example

      11:54:43,670 | ERROR | NAPSHOT-thread-1 | BlueprintCamelContext | 149 - org.apache.camel.camel-blueprint - 2.12.0.redhat-610312 | Error occurred during starting Camel: CamelContext(newservice-camel-context) due Failed to instantiate PooledConnectionFactory: java.lang.ClassNotFoundException: org.apache.activemq.pool.PooledConnectionFactory not found by org.apache.activemq.activemq-camel [207]
      java.lang.RuntimeException: Failed to instantiate PooledConnectionFactory: java.lang.ClassNotFoundException: org.apache.activemq.pool.PooledConnectionFactory not found by org.apache.activemq.activemq-camel [207]
      at org.apache.activemq.camel.component.ActiveMQConfiguration.createPooledConnectionFactory(ActiveMQConfiguration.java:172)[207:org.apache.activemq.activemq-camel:5.9.0.redhat-610312]
      at org.apache.activemq.camel.component.ActiveMQConfiguration.createConnectionFactory(ActiveMQConfiguration.java:152)[207:org.apache.activemq.activemq-camel:5.9.0.redhat-610312]
      at org.apache.camel.component.jms.JmsConfiguration.getConnectionFactory(JmsConfiguration.java:480)
      at org.apache.camel.component.jms.JmsConfiguration.createListenerConnectionFactory(JmsConfiguration.java:1135)
      at org.apache.camel.component.jms.JmsConfiguration.getListenerConnectionFactory(JmsConfiguration.java:499)
      at org.apache.camel.component.jms.JmsConfiguration.configureMessageListenerContainer(JmsConfiguration.java:962)
      at org.apache.camel.component.jms.JmsConfiguration.createMessageListenerContainer(JmsConfiguration.java:443)
      at org.apache.camel.component.jms.JmsEndpoint.createMessageListenerContainer(JmsEndpoint.java:165)
      at org.apache.camel.component.jms.JmsEndpoint.createConsumer(JmsEndpoint.java:160)
      at org.apache.camel.component.jms.JmsEndpoint.createConsumer(JmsEndpoint.java:70)
      at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65)
      at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80)
      at org.apache.camel.impl.RouteService.warmUp(RouteService.java:134)
      at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:2124)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:2054)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1842)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1714)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1559)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1527)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:177)
      at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:209)
      at org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:147)
      at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:934)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:795)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4666)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.Felix.registerService(Felix.java:3674)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:347)
      at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:353)
      at org.apache.camel.blueprint.BlueprintCamelContext.init(BlueprintCamelContext.java:97)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_45]
      at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_45]
      at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_45]
      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:676)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:374)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:270)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:233)[14:org.apache.aries.blueprint.core:1.0.1.redhat-610312]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.apache.aries.util:1.0.1.redhat-610312]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.apache.aries.util:1.0.1.redhat-610312]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.aries.util:1.0.1.redhat-610312]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.aries.util:1.0.1.redhat-610312]
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.aries.util:1.0.1.redhat-610312]
      at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.Felix$4.run(Felix.java:2123)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at org.apache.felix.framework.Felix$5.run(Felix.java:2167)[org.apache.felix.framework-4.0.3.redhat-610312.jar:]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_45]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_45]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
      at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
      Caused by: java.lang.ClassNotFoundException: org.apache.activemq.pool.PooledConnectionFactory not found by org.apache.activemq.activemq-camel [207]
      at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
      at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
      at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_45]
      at org.apache.activemq.camel.component.ActiveMQConfiguration.loadClass(ActiveMQConfiguration.java:184)[207:org.apache.activemq.activemq-camel:5.9.0.redhat-610312]
      at org.apache.activemq.camel.component.ActiveMQConfiguration.createPooledConnectionFactory(ActiveMQConfiguration.java:167)[207:org.apache.activemq.activemq-camel:5.9.0.redhat-610312]
      ... 65 more

            willem.jiang Willem Jiang (Inactive)
            kearls@redhat.com Kevin Earls (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: