Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4216B10CD0 for ; Wed, 12 Jun 2013 10:55:59 +0000 (UTC) Received: (qmail 92480 invoked by uid 500); 12 Jun 2013 10:55:58 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 92448 invoked by uid 500); 12 Jun 2013 10:55:58 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 80576 invoked by uid 99); 12 Jun 2013 07:19:30 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,NORMAL_HTTP_TO_IP,SPF_NEUTRAL,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of lmanchanda75@gmail.com) Date: Wed, 12 Jun 2013 00:18:45 -0700 (PDT) From: lmanchanda75 To: users@camel.apache.org Message-ID: <1371021525577-5734122.post@n5.nabble.com> Subject: Camel-Cxf Payload Mode - DefaultSEI not found MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Experts, I am writing a PAYLOAD mode client and for the same I have defined following blueprint: But my application does not start and gives the following exception: 12:27:13,273 | ERROR | t-0.1.0-thread-1 | BlueprintCamelContext | 138 - org.apache.camel.camel-blueprint - 2.10.0.redhat-60024 | Error occurred during starting Camel: CamelContext(blueprintContext) due Failed to create Producer for endpoint: Endpoint[cxf://bean:ksrtc?allowStreaming=true&dataFormat=PAYLOAD&portName=hy%3AResvAdaptee]. Reason: java.lang.ClassNotFoundException: org.apache.camel.component.cxf.DefaultSEI not found by manchanda.lalit.TryCxfClient [595]^M org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: Endpoint[cxf://bean:ksrtc?allowStreaming=true&dataFormat=PAYLOAD&portName=hy%3AResvAdaptee]. Reason: java.lang.ClassNotFoundException: org.apache.camel.component.cxf.DefaultSEI not found by manchanda.lalit.TryCxfClient [595]^M at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:395)^M at org.apache.camel.impl.ProducerCache.acquireProducer(ProducerCache.java:114)^M at org.apache.camel.impl.ProducerCache.startProducer(ProducerCache.java:145)^M at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:175)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78)^M at org.apache.camel.processor.interceptor.TraceInterceptor.doStart(TraceInterceptor.java:358)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.processor.WrapProcessor.doStart(WrapProcessor.java:52)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1064)^M at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:41)^M at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:28)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.interceptor.DefaultChannel.doStart(DefaultChannel.java:153)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78)^M at org.apache.camel.processor.UnitOfWorkProcessor.doStart(UnitOfWorkProcessor.java:88)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:52)^M at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:73)^M at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.impl.RouteService.startChildService(RouteService.java:322)^M at org.apache.camel.impl.RouteService.warmUp(RouteService.java:151)^M at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:2000)^M at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1928)^M at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1716)^M at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1597)^M at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1453)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1421)^M at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:161)^M at org.apache.camel.blueprint.BlueprintCamelContext.serviceChanged(BlueprintCamelContext.java:128)^M at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:934)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:795)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4596)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.Felix.registerService(Felix.java:3604)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)^M at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:352)^M at org.apache.camel.blueprint.BlueprintCamelContext.init(BlueprintCamelContext.java:87)^M at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_43]^M at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_43]^M at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_43]^M at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_43]^M at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_43]^M at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_43]^M at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:667)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:370)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:270)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:233)[14:org.apache.aries.blueprint.core:1.0.1.redhat-60024]^M at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[13:org.apache.aries.util:1.0.1.redhat-60024]^M at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[13:org.apache.aries.util:1.0.1.redhat-60024]^M at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[13:org.apache.aries.util:1.0.1.redhat-60024]^M at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[13:org.apache.aries.util:1.0.1.redhat-60024]^M at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[13:org.apache.aries.util:1.0.1.redhat-60024]^M at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4580)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.Felix$4.run(Felix.java:2115)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.Felix$5.run(Felix.java:2159)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)[:1.6.0_43]^M at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_43]^M at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_43]^M at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)[:1.6.0_43]^M at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)[:1.6.0_43]^M at java.lang.Thread.run(Thread.java:662)[:1.6.0_43]^M Caused by: java.lang.ClassNotFoundException: org.apache.camel.component.cxf.DefaultSEI not found by manchanda.lalit.TryCxfClient [595]^M at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)^M at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)^M at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)^M at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_43]^M at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1862)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]^M at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:937)^M at org.apache.camel.component.cxf.CxfBlueprintEndpoint.setServiceClass(CxfBlueprintEndpoint.java:50)^M at org.apache.camel.component.cxf.CxfEndpoint.createClient(CxfEndpoint.java:499)^M at org.apache.camel.component.cxf.CxfProducer.doStart(CxfProducer.java:76)^M at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)^M at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)^M at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:393)^M Following is the pom.xml I am using 4.0.0 manchanda.lalit TryCxfClient jar 0.1 A Camel Blueprint Route http://www.myorganization.org UTF-8 UTF-8 org.apache.camel camel-core 2.10.0.redhat-60024 provided org.apache.camel camel-blueprint 2.10.0.redhat-60024 provided org.apache.camel camel-cxf 2.10.0.redhat-60024 provided com.sun.xml.bind jaxb-impl 2.1.13 javax.xml jaxb-api 2.1 org.codehaus.woodstox woodstox-core-asl 4.2.0 org.slf4j slf4j-api 1.7.5 org.slf4j slf4j-log4j12 1.7.5 org.slf4j jcl-over-slf4j 1.7.5 log4j log4j 1.2.17 org.apache.camel camel-test-blueprint 2.11.0 test install org.apache.maven.plugins maven-compiler-plugin 2.5.1 1.6 1.6 org.apache.maven.plugins maven-resources-plugin 2.6 UTF-8 Please help me know what can I do differently? Regds Lalit -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Cxf-Payload-Mode-DefaultSEI-not-found-tp5734122.html Sent from the Camel - Users mailing list archive at Nabble.com.