Hi When you install the feature using feature:install all necessary dependencies are automatically installed. Look at the feature definition
karaf@root> features:info camel-spring-ws Description of camel-spring-ws 2.14.1 feature ---------------------------------------------------------------- spring-ws doesn't support importing spring 4.x ---------------------------------------------------------------- Feature has no configuration Feature has no configuration files Feature depends on: http 0.0.0 camel-spring 2.14.1 spring-jms [3.2,4) spring-web [3.2,4) spring-oxm [3.2,4) Feature contains followed bundles: mvn:javax.mail/mail/1.4.7 start-level=50 mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1 start-level=50 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.smack/3.2.1_1 start-level=50 mvn:org.springframework.ws/spring-xml/2.1.4.RELEASE start-level=50 mvn:org.springframework.ws/spring-ws-core/2.1.4.RELEASE start-level=50 mvn:org.springframework.ws/spring-ws-support/2.1.4.RELEASE start-level=50 mvn:org.apache.camel/camel-spring-ws/2.14.1 start-level=50 Feature has no conditionals. karaf@root> If you want to deploy the jar into the deploy folder you must install all these dependencies first Regards Krzysztof On 06.05.2015 11:34, rameshmallipudi 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://servicemix.396122.n5.nabble.com/Camel-Spring-ws-2-14-1-with-Servicemix5-is-giving-issue-tp5722589.html > Sent from the ServiceMix - Dev mailing list archive at Nabble.com. -- Krzysztof Sobkowiak JEE & OSS Architect Apache Software Foundation Member Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>
