-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.3
-
None
-
%
-
I am getting following error from camel-aws coponent
2019-05-07 08:34:54,425 | ERROR | l Console Thread | BlueprintContainerImpl | 22 - org.apache.aries.blueprint.core - 1.8.0 | Unable to start blueprint container for bundle org.jboss.qe.karaf-reproducer/1.0.0.SNAPSHOT org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean amazonEc2Client of class com.amazonaws.services.ec2.AmazonEC2Client at org.apache.aries.blueprint.container.BeanRecipe.wrapAsCompDefEx(BeanRecipe.java:361)[22:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromType(BeanRecipe.java:351)[22:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:282)[22:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:830)[22:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[22:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_191] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88) at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255) at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:186) at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:725) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:412) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:277) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265) at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127) at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429) at org.apache.felix.framework.Felix.startBundle(Felix.java:2100) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963) at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:51) at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_191] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_191] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_191] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_191] at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[18:org.apache.aries.proxy:1.1.1] at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[18:org.apache.aries.proxy:1.1.1] at org.apache.karaf.shell.console.commands.$BlueprintCommand1220887252.execute(Unknown Source)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[37:org.apache.karaf.shell.console:2.4.0.redhat-630389] Caused by: java.lang.NoClassDefFoundError: org.apache.http.conn.routing.HttpRoute not found by org.apache.servicemix.bundles.aws-java-sdk [292] at com.amazonaws.http.conn.$Proxy51.<clinit>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_191] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_191] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_191] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[:1.8.0_191] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739)[:1.8.0_191] at com.amazonaws.http.conn.ClientConnectionManagerFactory.wrap(ClientConnectionManagerFactory.java:52) at com.amazonaws.http.impl.client.SdkHttpClient.<init>(SdkHttpClient.java:29) at com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:116) at com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:217) at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:136) at com.amazonaws.services.ec2.AmazonEC2Client.<init>(AmazonEC2Client.java:216) at com.amazonaws.services.ec2.AmazonEC2Client.<init>(AmazonEC2Client.java:192) at com.amazonaws.services.ec2.AmazonEC2Client.<init>(AmazonEC2Client.java:88) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_191] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_191] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_191] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[:1.8.0_191] at org.apache.aries.blueprint.utils.ReflectionUtils.newInstance(ReflectionUtils.java:331) at org.apache.aries.blueprint.container.BeanRecipe.newInstance(BeanRecipe.java:984) at org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromType(BeanRecipe.java:349) ... 46 more