Hi

We have already told you that you should use the same version of Camel
that comes out of the box with ServiceMix.
And wait for ServiceMix 4.4.0 that comes with the latest Camel release
(in fact it would be Camel 2.8.3 when its released)


On Wed, Nov 16, 2011 at 10:02 AM, Gnanaguru S
<gnanaguru.sattanat...@wipro.com> wrote:
>
> Hi ,
>
> 1. I downloaded camel 2.8.0
> 2. I took the example camel-example-cxf-osgi
> 3. I build it successfully using maven .
> 4. I got the target jar generated in target directory.
> 5. i moved the jar to hot deploy folder.
>
> When i do osgi:list -  bundle is failed state.
>
> Log:display issues the following log. Please helpout.
>
> 14:28:31,456 | ERROR | xtenderThread-11 | ContextLoaderListener            |
> ?
>   ? | 86 - org.springframework.osgi.extender - 1.2.1 | Application context
> refresh failed (OsgiBundleXmlAppli
> cationContext(bundle=camel-example-cxf-osgi,
> config=osgibundle:/META-INF/spring/*.xml))
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to imp
> ort bean definitions from URL location [classpath:META-INF/cxf/cxf.xml]
> Offending resource: URL
> [bundle://217.1:0/META-INF/spring/camel-context.xml]; nested exception is
> org.springfr
> amework.beans.factory.BeanDefinitionStoreException: IOException parsing XML
> document from OSGi resource[classp
> ath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi]; nested
> exception is java.io.FileNotFoundE
> xception: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi]
> cannot be re
> solved to URL because it does not exist
>        at
> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.jav
> a:68)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)[69:org.springf
> ramework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)[69:org.springf
> ramework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResou
> rce(DefaultBeanDefinitionDocumentReader.java:192)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(Defau
> ltBeanDefinitionDocumentReader.java:147)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(Defa
> ultBeanDefinitionDocumentReader.java:132)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(D
> efaultBeanDefinitionDocumentReader.java:93)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefini
> tionReader.java:493)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefiniti
> onReader.java:390)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:334)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:302)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:143)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:178)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:149)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBu
> ndleXmlApplicationContext.java:164)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBu
> ndleXmlApplicationContext.java:136)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(Abstra
> ctRefreshableApplicationContext.java:130)[71:org.springframework.context:3.0.5.RELEASE]
>        at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractAppli
> cationContext.java:467)[71:org.springframework.context:3.0.5.RELEASE]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(Ab
> stractDelegatedExecutionApplicationContext.java:69)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(Abstrac
> tDelegatedExecutionApplicationContext.java:269)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:8
> 5)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(
> AbstractDelegatedExecutionApplicationContext.java:247)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextE
> xecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:214)[86:org.springframework.osgi.extender:1.2
> .1]
>        at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextE
> xecutor.refresh(DependencyWaiterApplicationContextExecutor.java:169)[86:org.springframework.osgi.extender:1.2.
> 1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(Abstr
> actDelegatedExecutionApplicationContext.java:175)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListe
> ner.java:716)[86:org.springframework.osgi.extender:1.2.1]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_17]
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> IOException parsing XML document fr
> om OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi];
> nested exception i
> s java.io.FileNotFoundException: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example
> -cxf-osgi] cannot be resolved to URL because it does not exist
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:341)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:302)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:143)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:178)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResou
> rce(DefaultBeanDefinitionDocumentReader.java:186)[69:org.springframework.beans:3.0.5.RELEASE]
>        ... 23 more
> Caused by: java.io.FileNotFoundException: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=came
> l-example-cxf-osgi] cannot be resolved to URL because it does not exist
>        at
> org.springframework.osgi.io.OsgiBundleResource.getURL(OsgiBundleResource.java:228)[84:org.springfra
> mework.osgi.io:1.2.1]
>        at
> org.springframework.osgi.io.OsgiBundleResource.getInputStream(OsgiBundleResource.java:180)[84:org.s
> pringframework.osgi.io:1.2.1]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:328)[69:org.springframework.beans:3.0.5.RELEASE]
>        ... 27 more
> 14:28:31,518 | ERROR | xtenderThread-11 | WaiterApplicationContextExecutor |
> ?
>   ? | 86 - org.springframework.osgi.extender - 1.2.1 | Unable to create
> application context for [camel-exampl
> e-cxf-osgi], unsatisfied dependencies: none
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to imp
> ort bean definitions from URL location [classpath:META-INF/cxf/cxf.xml]
> Offending resource: URL
> [bundle://217.1:0/META-INF/spring/camel-context.xml]; nested exception is
> org.springfr
> amework.beans.factory.BeanDefinitionStoreException: IOException parsing XML
> document from OSGi resource[classp
> ath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi]; nested
> exception is java.io.FileNotFoundE
> xception: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi]
> cannot be re
> solved to URL because it does not exist
>        at
> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.jav
> a:68)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)[69:org.springf
> ramework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)[69:org.springf
> ramework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResou
> rce(DefaultBeanDefinitionDocumentReader.java:192)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(Defau
> ltBeanDefinitionDocumentReader.java:147)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(Defa
> ultBeanDefinitionDocumentReader.java:132)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(D
> efaultBeanDefinitionDocumentReader.java:93)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefini
> tionReader.java:493)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefiniti
> onReader.java:390)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:334)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:302)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:143)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:178)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:149)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBu
> ndleXmlApplicationContext.java:164)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBu
> ndleXmlApplicationContext.java:136)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(Abstra
> ctRefreshableApplicationContext.java:130)[71:org.springframework.context:3.0.5.RELEASE]
>        at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractAppli
> cationContext.java:467)[71:org.springframework.context:3.0.5.RELEASE]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(Ab
> stractDelegatedExecutionApplicationContext.java:69)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(Abstrac
> tDelegatedExecutionApplicationContext.java:269)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:8
> 5)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(
> AbstractDelegatedExecutionApplicationContext.java:247)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextE
> xecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:214)[86:org.springframework.osgi.extender:1.2
> .1]
>        at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextE
> xecutor.refresh(DependencyWaiterApplicationContextExecutor.java:169)[86:org.springframework.osgi.extender:1.2.
> 1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(Abstr
> actDelegatedExecutionApplicationContext.java:175)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListe
> ner.java:716)[86:org.springframework.osgi.extender:1.2.1]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_17]
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> IOException parsing XML document fr
> om OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi];
> nested exception i
> s java.io.FileNotFoundException: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example
> -cxf-osgi] cannot be resolved to URL because it does not exist
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:341)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:302)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:143)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:178)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResou
> rce(DefaultBeanDefinitionDocumentReader.java:186)[69:org.springframework.beans:3.0.5.RELEASE]
>        ... 23 more
> Caused by: java.io.FileNotFoundException: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=came
> l-example-cxf-osgi] cannot be resolved to URL because it does not exist
>        at
> org.springframework.osgi.io.OsgiBundleResource.getURL(OsgiBundleResource.java:228)[84:org.springfra
> mework.osgi.io:1.2.1]
>        at
> org.springframework.osgi.io.OsgiBundleResource.getInputStream(OsgiBundleResource.java:180)[84:org.s
> pringframework.osgi.io:1.2.1]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:328)[69:org.springframework.beans:3.0.5.RELEASE]
>        ... 27 more
> 14:28:31,518 | ERROR | xtenderThread-11 | ContextLoaderListener            |
> ?
>   ? | 86 - org.springframework.osgi.extender - 1.2.1 | Application context
> refresh failed (OsgiBundleXmlAppli
> cationContext(bundle=camel-example-cxf-osgi,
> config=osgibundle:/META-INF/spring/*.xml))
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to imp
> ort bean definitions from URL location [classpath:META-INF/cxf/cxf.xml]
> Offending resource: URL
> [bundle://217.1:0/META-INF/spring/camel-context.xml]; nested exception is
> org.springfr
> amework.beans.factory.BeanDefinitionStoreException: IOException parsing XML
> document from OSGi resource[classp
> ath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi]; nested
> exception is java.io.FileNotFoundE
> xception: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi]
> cannot be re
> solved to URL because it does not exist
>        at
> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.jav
> a:68)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)[69:org.springf
> ramework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)[69:org.springf
> ramework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResou
> rce(DefaultBeanDefinitionDocumentReader.java:192)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(Defau
> ltBeanDefinitionDocumentReader.java:147)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(Defa
> ultBeanDefinitionDocumentReader.java:132)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(D
> efaultBeanDefinitionDocumentReader.java:93)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefini
> tionReader.java:493)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefiniti
> onReader.java:390)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:334)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:302)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:143)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:178)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:149)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBu
> ndleXmlApplicationContext.java:164)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBu
> ndleXmlApplicationContext.java:136)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(Abstra
> ctRefreshableApplicationContext.java:130)[71:org.springframework.context:3.0.5.RELEASE]
>        at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractAppli
> cationContext.java:467)[71:org.springframework.context:3.0.5.RELEASE]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(Ab
> stractDelegatedExecutionApplicationContext.java:69)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(Abstrac
> tDelegatedExecutionApplicationContext.java:269)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:8
> 5)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(
> AbstractDelegatedExecutionApplicationContext.java:247)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextE
> xecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:214)[86:org.springframework.osgi.extender:1.2
> .1]
>        at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextE
> xecutor.refresh(DependencyWaiterApplicationContextExecutor.java:169)[86:org.springframework.osgi.extender:1.2.
> 1]
>        at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(Abstr
> actDelegatedExecutionApplicationContext.java:175)[83:org.springframework.osgi.core:1.2.1]
>        at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListe
> ner.java:716)[86:org.springframework.osgi.extender:1.2.1]
>        at java.lang.Thread.run(Thread.java:619)[:1.6.0_17]
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> IOException parsing XML document fr
> om OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example-cxf-osgi];
> nested exception i
> s java.io.FileNotFoundException: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=camel-example
> -cxf-osgi] cannot be resolved to URL because it does not exist
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:341)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:302)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:143)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(Abstract
> BeanDefinitionReader.java:178)[69:org.springframework.beans:3.0.5.RELEASE]
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResou
> rce(DefaultBeanDefinitionDocumentReader.java:186)[69:org.springframework.beans:3.0.5.RELEASE]
>        ... 23 more
> Caused by: java.io.FileNotFoundException: OSGi
> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=217|bnd.sym=came
> l-example-cxf-osgi] cannot be resolved to URL because it does not exist
>        at
> org.springframework.osgi.io.OsgiBundleResource.getURL(OsgiBundleResource.java:228)[84:org.springfra
> mework.osgi.io:1.2.1]
>        at
> org.springframework.osgi.io.OsgiBundleResource.getInputStream(OsgiBundleResource.java:180)[84:org.s
> pringframework.osgi.io:1.2.1]
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinition
> Reader.java:328)[69:org.springframework.beans:3.0.5.RELEASE]
>        ... 27 more
>
> Kindly helpout in what is required.
>
> Regards
> Guru
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-deployment-error-log-camel-cxf-osgi-tp4997116p4997116.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to