Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.18.0
-
None
-
None
-
Karaf 4.0.7
Felix
ActiveMQ-karaf 5.14.0
-
Unknown
Description
Hello,
I'm facing an issue with Camel 2.18.0 and Karaf 4.0.7 (& Felix). Here are some config I use:
featuresRepositories = \
mvn:org.apache.karaf.features/spring/4.0.7/xml/features, \
mvn:org.apache.karaf.features/standard/4.0.7/xml/features, \
mvn:org.apache.karaf.features/framework/4.0.7/xml/features, \
mvn:org.apache.karaf.features/enterprise/4.0.7/xml/features, \
mvn:org.apache.activemq/activemq-karaf/5.14.0/xml/features-core, \
mvn:org.apache.camel.karaf/apache-camel/2.18.0/xml/features
And here is the exception:
2016-10-20 15:12:27,098 | WARN | pool-8-thread-1 | org.apache.camel.impl.converter.AnnotationTypeConverterLoader | Ignoring converter type: org.apache.activemq.camel.converter.ActiveMQMessageConverter as a dependent class could not be found: java.lang.NoClassDefFoundError: org/apache/camel/component/jms/JmsBinding java.lang.NoClassDefFoundError: org/apache/camel/component/jms/JmsBinding at java.lang.Class.getDeclaredMethods0(Native Method)[:1.8.0_60] at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)[:1.8.0_60] at java.lang.Class.getDeclaredMethods(Class.java:1975)[:1.8.0_60] at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.loadConverterMethods(AnnotationTypeConverterLoader.java:262) at org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader$Loader.load(Activator.java:463) at org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader.load(Activator.java:378) at org.apache.camel.core.osgi.OsgiTypeConverter.createRegistry(OsgiTypeConverter.java:225) at org.apache.camel.core.osgi.OsgiTypeConverter.getDelegate(OsgiTypeConverter.java:188) at org.apache.camel.core.osgi.OsgiTypeConverter.getStatistics(OsgiTypeConverter.java:163) at org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization(DefaultCamelContext.java:3750)[84:org.apache.camel.camel-core:2.18.0] at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3086)[84:org.apache.camel.camel-core:2.18.0] at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:182)[84:org.apache.camel.camel-core:2.18.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2957) at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2953) at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2976)[84:org.apache.camel.camel-core:2.18.0] at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2953)[84:org.apache.camel.camel-core:2.18.0] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2920)[84:org.apache.camel.camel-core:2.18.0] at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:185) at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:217) at org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:155) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:991)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:839)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:546)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.Felix.registerService(Felix.java:3549)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:355) at org.apache.camel.blueprint.BlueprintCamelContext.init(BlueprintCamelContext.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_60] at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:980)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:736)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:848)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[56:org.apache.aries.blueprint.core:1.6.2] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:186)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:724)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:411)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)[56:org.apache.aries.blueprint.core:1.6.2] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[78:org.apache.aries.util:1.1.1] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[78:org.apache.aries.util:1.1.1] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[78:org.apache.aries.util:1.1.1] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[78:org.apache.aries.util:1.1.1] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[78:org.apache.aries.util:1.1.1] at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:731)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:486)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.Felix.startBundle(Felix.java:2172)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1286)[8:org.apache.karaf.features.core:4.0.7] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:846)[8:org.apache.karaf.features.core:4.0.7] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)[8:org.apache.karaf.features.core:4.0.7] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)[8:org.apache.karaf.features.core:4.0.7] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60] at java.lang.Thread.run(Thread.java:745)[:1.8.0_60] Caused by: java.lang.ClassNotFoundException: org.apache.camel.component.jms.JmsBinding not found by org.apache.activemq.activemq-osgi [53] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1574) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_60] ... 70 more |
Any help?
Thanks