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

camel-elasticsearch: accessing remote elasticsearch does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Obsolete
    • jboss-fuse-6.3, fuse-7.0
    • fuse-7.2
    • Camel
    • None
    • % %
    • Hide

      Download attached reproducer and follow instruction from description.

      Show
      Download attached reproducer and follow instruction from description.

    Description

      When I try to use camel-elasticsearch component to connect to REMOTE (not embedded) container I get following errors:

      1) features:install camel-elasticsearch
      2) install -s mvn:org.jboss.fuse.qa.camel/elasticsearch-reproducer/1.0-SNAPSHOT

      2017-09-21 10:27:49,041 | WARN  | FelixStartLevel  | NamespaceManager                 | 209 - org.springframework.osgi.extender - 1.2.1 | Bundle Apache XBean :: Classloader (org.apache.xbean.classloader) cannot see class [org.springframework.beans.factory.xml.NamespaceHandlerResolver]; ignoring its namespace handlers
      2017-09-21 10:30:39,765 | WARN  | l Console Thread | BlueprintEventDispatcher         | 22 - org.apache.aries.blueprint.core - 1.8.0 | Listener caused an exception, will be ignored
      java.util.concurrent.ExecutionException: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/jboss/netty/channel/ChannelFutureListener
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_131]
      	at java.util.concurrent.FutureTask.get(FutureTask.java:192)[:1.8.0_131]
      	at java.util.concurrent.AbstractExecutorService.doInvokeAny(AbstractExecutorService.java:193)[:1.8.0_131]
      	at java.util.concurrent.AbstractExecutorService.invokeAny(AbstractExecutorService.java:225)[:1.8.0_131]
      	at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper$4.call(ScheduledExecutorServiceWrapper.java:184)
      	at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper$15.call(ScheduledExecutorServiceWrapper.java:452)
      	at org.apache.aries.blueprint.utils.threading.RWLock.runReadOperation(RWLock.java:35)
      	at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper.runUnlessShutdown(ScheduledExecutorServiceWrapper.java:447)
      	at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper.invokeAny(ScheduledExecutorServiceWrapper.java:178)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher.callListener(BlueprintEventDispatcher.java:199)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher.callListeners(BlueprintEventDispatcher.java:189)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher.blueprintEvent(BlueprintEventDispatcher.java:140)
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:425)
      	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_131]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_131]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_131]
      	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_131]
      	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.$BlueprintCommand1313328707.execute(Unknown Source)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/jboss/netty/channel/ChannelFutureListener
      	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
      	at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
      	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
      	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
      	at org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
      	at org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:51)
      	at org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
      	at org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:410)
      	at org.elasticsearch.common.inject.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:685)
      	at org.elasticsearch.common.inject.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:620)
      	at org.elasticsearch.common.inject.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:188)
      	at org.elasticsearch.common.inject.InjectorImpl.getBindingOrThrow(InjectorImpl.java:144)
      	at org.elasticsearch.common.inject.InjectorImpl.getInternalFactory(InjectorImpl.java:691)
      	at org.elasticsearch.common.inject.FactoryProxy.notify(FactoryProxy.java:45)
      	at org.elasticsearch.common.inject.BindingProcessor.runCreationListeners(BindingProcessor.java:243)
      	at org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:130)
      	at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
      	at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
      	at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
      	at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:46)
      	at org.elasticsearch.client.transport.TransportClient$Builder.build(TransportClient.java:161)
      	at org.apache.camel.component.elasticsearch.ElasticsearchEndpoint.doStart(ElasticsearchEndpoint.java:87)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3251)
      	at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1219)
      	at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1180)
      	at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1176)
      	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:585)
      	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)
      	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211)
      	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:107)
      	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113)
      	at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)
      	at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)
      	at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:534)
      	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:495)
      	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:219)
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1069)
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196)
      	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:950)
      	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3277)
      	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3000)
      	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:176)
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2830)
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2826)
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2849)
      	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2826)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2795)
      	at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:248)
      	at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:288)
      	at org.apache.camel.blueprint.BlueprintCamelContext.blueprintEvent(BlueprintCamelContext.java:181)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher$4.call(BlueprintEventDispatcher.java:201)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher$4.call(BlueprintEventDispatcher.java:199)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_131]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_131]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_131]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_131]
      	at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
      Caused by: java.lang.NoClassDefFoundError: org/jboss/netty/channel/ChannelFutureListener
      	at java.lang.Class.getDeclaredConstructors0(Native Method)[:1.8.0_131]
      	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)[:1.8.0_131]
      	at java.lang.Class.getDeclaredConstructors(Class.java:2020)[:1.8.0_131]
      	at org.elasticsearch.common.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:190)
      	at org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:60)
      	at org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
      	at org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:38)
      	at org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
      	at org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
      	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
      	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
      	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
      	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
      	... 63 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.netty.channel.ChannelFutureListener not found by org.apache.servicemix.bundles.elasticsearch [291]
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_131]
      	... 76 more
      

      3) log:clear
      4) dynamic-import 291 (#Apache ServiceMix :: Bundles :: elasticsearch)

      2017-09-21 10:33:39,735 | WARN  | l Console Thread | BlueprintEventDispatcher         | 22 - org.apache.aries.blueprint.core - 1.8.0 | Listener caused an exception, will be ignored
      java.util.concurrent.ExecutionException: java.lang.IllegalAccessError: tried to access method org.joda.time.format.PeriodFormatter.<init>(Lorg/joda/time/format/PeriodPrinter;Lorg/joda/time/format/PeriodParser;Ljava/util/Locale;Lorg/joda/time/PeriodType;)V from class org.joda.time.format.PeriodFormat
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_131]
      	at java.util.concurrent.FutureTask.get(FutureTask.java:192)[:1.8.0_131]
      	at java.util.concurrent.AbstractExecutorService.doInvokeAny(AbstractExecutorService.java:193)[:1.8.0_131]
      	at java.util.concurrent.AbstractExecutorService.invokeAny(AbstractExecutorService.java:225)[:1.8.0_131]
      	at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper$4.call(ScheduledExecutorServiceWrapper.java:184)
      	at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper$15.call(ScheduledExecutorServiceWrapper.java:452)
      	at org.apache.aries.blueprint.utils.threading.RWLock.runReadOperation(RWLock.java:35)
      	at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper.runUnlessShutdown(ScheduledExecutorServiceWrapper.java:447)
      	at org.apache.aries.blueprint.utils.threading.ScheduledExecutorServiceWrapper.invokeAny(ScheduledExecutorServiceWrapper.java:178)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher.callListener(BlueprintEventDispatcher.java:199)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher.callListeners(BlueprintEventDispatcher.java:189)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher.blueprintEvent(BlueprintEventDispatcher.java:140)
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:425)
      	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.Felix.updateBundle(Felix.java:2412)
      	at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:994)
      	at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:981)
      	at org.apache.karaf.util.bundles.BundleUtils.update(BundleUtils.java:43)
      	at org.apache.karaf.util.bundles.BundleUtils.update(BundleUtils.java:36)
      	at org.apache.karaf.shell.osgi.UpdateBundle.doExecute(UpdateBundle.java:37)
      	at org.apache.karaf.shell.osgi.BundleCommand.doExecute(BundleCommand.java:41)
      	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_131]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_131]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_131]
      	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_131]
      	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.$BlueprintCommand1313328707.execute(Unknown Source)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[37:org.apache.karaf.shell.console:2.4.0.redhat-630292]
      Caused by: java.lang.IllegalAccessError: tried to access method org.joda.time.format.PeriodFormatter.<init>(Lorg/joda/time/format/PeriodPrinter;Lorg/joda/time/format/PeriodParser;Ljava/util/Locale;Lorg/joda/time/PeriodType;)V from class org.joda.time.format.PeriodFormat
      	at org.joda.time.format.PeriodFormat.wordBased(PeriodFormat.java:206)
      	at org.joda.time.format.PeriodFormat.getDefault(PeriodFormat.java:73)
      	at org.elasticsearch.common.unit.TimeValue.<init>(TimeValue.java:186)
      	at org.elasticsearch.common.unit.TimeValue.timeValueMinutes(TimeValue.java:58)
      	at org.elasticsearch.threadpool.ThreadPool.rebuild(ThreadPool.java:485)
      	at org.elasticsearch.threadpool.ThreadPool.build(ThreadPool.java:400)
      	at org.elasticsearch.threadpool.ThreadPool.<init>(ThreadPool.java:232)
      	at org.elasticsearch.client.transport.TransportClient$Builder.build(TransportClient.java:133)
      	at org.apache.camel.component.elasticsearch.ElasticsearchEndpoint.doStart(ElasticsearchEndpoint.java:87)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3251)
      	at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1219)
      	at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1180)
      	at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1176)
      	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:585)
      	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)
      	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211)
      	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:107)
      	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113)
      	at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)
      	at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)
      	at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:534)
      	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:495)
      	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:219)
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1069)
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196)
      	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:950)
      	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3277)
      	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3000)
      	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:176)
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2830)
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2826)
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2849)
      	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2826)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2795)
      	at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:248)
      	at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:288)
      	at org.apache.camel.blueprint.BlueprintCamelContext.blueprintEvent(BlueprintCamelContext.java:181)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher$4.call(BlueprintEventDispatcher.java:201)
      	at org.apache.aries.blueprint.container.BlueprintEventDispatcher$4.call(BlueprintEventDispatcher.java:199)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_131]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_131]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_131]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_131]
      	at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
      }
      

      Attachments

        Activity

          People

            acosenti Andrea Cosentino
            jbouska@redhat.com Jan Bouska
            Jan Bouska Jan Bouska
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: