camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel-Spring-ws-2.14.1 with Servicemix5 is giving issue
Date Wed, 06 May 2015 09:13:28 GMT
Hi

This is a question better asked on ServiceMix user mailing list / user
forum as its about deployment on ServiceMix, and not really about
Apache Camel.

But in general you should install Camel components using the features
command, and not copy a single JAR in deploy folder. So what you do is
wrong.

On Wed, May 6, 2015 at 11:02 AM, rameshmallipudi
<rameshmallipudi@gmail.com> wrote:
> Hi Users,
>
> I have a requirement of download the camel-spring-ws-2.14.1.jar and place it
> in the deploy folder of service mix (It is nothing but *features:install
> camel-spring-ws*).
> *features:install camel-spring-ws* is absolutely working fine. But placing
> the same jar in the deploy folder is giving below issues. Any idea about
> this issue.
>
> Exception :-
> 2015-05-06 09:45:57,239 | WARN  |
> fileinstall-C:\Softwares\apache-servicemix-5.4.0/deploy | fileinstall |  |
> Error while starting bundle:
> file:/C:/Softwares/apache-servicemix-5.4.0/deploy/camel-spring-ws-2.14.1.jar
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.camel.camel-spring-ws [211]: Unable to resolve 211.0: missing
> requirement [211.0] osgi.wiring.package;
> (&(osgi.wiring.package=org.springframework.ws)(version>=2.0.0)(!(version>=3.0.0)))
>         at
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)[org.apache.felix.framework-4.4.1.jar:]
>         at
> org.apache.felix.framework.Felix.startBundle(Felix.java:2045)[org.apache.felix.framework-4.4.1.jar:]
>         at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:]
>         at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[6:org.apache.felix.fileinstall:3.4.2]
>         at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[6:org.apache.felix.fileinstall:3.4.2]
>         at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[6:org.apache.felix.fileinstall:3.4.2]
>         at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[6:org.apache.felix.fileinstall:3.4.2]
>         at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[6:org.apache.felix.fileinstall:3.4.2]
> 2015-05-06 09:45:57,286 | INFO  | SpringOsgiExtenderThread-1 |
> XmlBeanDefinitionReader |  | Loading XML bean definitions from URL
> [bundle://212.0:0/META-INF/spring/spring-ws-servlet.xml]
> 2015-05-06 09:45:59,019 | ERROR | SpringOsgiExtenderThread-1 |
> ContextLoaderListener |  | Application context refresh failed
> (OsgiBundleXmlApplicationContext(bundle=aero.sita.gsl.ice.event-presentation-XSB,
> config=osgibundle:/META-INF/spring/*.xml))
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Unable to locate Spring NamespaceHandler for XML
> schema namespace [http://www.springframework.org/schema/web-services]
> Offending resource: URL
> [bundle://212.0:0/META-INF/spring/spring-ws-servlet.xml]
>
>         at
> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:318)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1435)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:195)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:139)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:108)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)[77:org.apache.servicemix.bundles.spring-beans:3.2.11.RELEASE_1]
>         at
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:164)[121:org.springframework.osgi.core:1.2.1]
>         at
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:136)[121:org.springframework.osgi.core:1.2.1]
>         at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[79:org.apache.servicemix.bundles.spring-context:3.2.11.RELEASE_1]
>         at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:539)[79:org.apache.servicemix.bundles.spring-context:3.2.11.RELEASE_1]
>         at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegatedExecutionApplicationContext.java:69)[121:org.springframework.osgi.core:1.2.1]
>         at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:269)[121:org.springframework.osgi.core:1.2.1]
>         at
> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[121:org.springframework.osgi.core:1.2.1]
>         at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247)[121:org.springframework.osgi.core:1.2.1]
>         at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:214)[122:org.springframework.osgi.extender:1.2.1]
>         at
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:169)[122:org.springframework.osgi.extender:1.2.1]
>         at
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[121:org.springframework.osgi.core:1.2.1]
>         at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716)[122:org.springframework.osgi.extender:1.2.1]
>         at java.lang.Thread.run(Thread.java:722)[:1.7.0_07]
> 2015-05-06 09:45:59,019 | ERROR | SpringOsgiExtenderThread-1 |
> DependencyWaiterApplicationContextExecutor |  | Unable to create application
> context for [aero.sita.gsl.ice.event-presentation-XSB], unsatisfied
> dependencies: none
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Unable to locate Spring NamespaceHandler for XML
> schema namespace [http://www.springframework.org/schema/web-services]
> Offending resource: URL
> [bundle://212.0:0/META-INF/spring/spring-ws-servlet.xml]
>
> Regards,
> Ramesh
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Spring-ws-2-14-1-with-Servicemix5-is-giving-issue-tp5766739.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message