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 CF611186F8 for ; Wed, 6 May 2015 09:14:14 +0000 (UTC) Received: (qmail 7516 invoked by uid 500); 6 May 2015 09:14:14 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 7467 invoked by uid 500); 6 May 2015 09:14:14 -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 Received: (qmail 7455 invoked by uid 99); 6 May 2015 09:14:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 09:14:14 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for users@camel.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 09:14:09 +0000 Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 768C743CB0 for ; Wed, 6 May 2015 09:13:49 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so10096798ied.1 for ; Wed, 06 May 2015 02:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=IAsZErMW0/nPotWaQbZhC2MylJ5G7gwW02hTqrD90nY=; b=dFcET852Ry7huOC3D1Hts05uAbdYo3gzRgVAwIHle0YC3L4KRyQ0uXR6sqX1Skyt+w MFDEk93uat+eydX2hxXp8lIoAAEoRB9efaEfh7RECDgLnr2JzqKXqbTLVglijEojasnj OajWiWwrz00gG4o/z9V41HZthtIscnbBHOyyDJLOAEBGwCcYKVwqkP+2ZepHMV3ZcEib OTR7V/7WfcCgP8wcX/Tt5bdWai61UT8na8jRsLXxJEF3o1vs5yJ7xi+o565rlr0iiJgQ 5986cBRyNQbOz6hyylVTPL3bmkqQP1i/keLG5JWTlCJrQzznqzK4kKAbsRXLKroTNMn+ /HlQ== X-Received: by 10.107.152.14 with SMTP id a14mr5758586ioe.59.1430903629030; Wed, 06 May 2015 02:13:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.90.199 with HTTP; Wed, 6 May 2015 02:13:28 -0700 (PDT) In-Reply-To: <1430902939815-5766739.post@n5.nabble.com> References: <1430902939815-5766739.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 6 May 2015 11:13:28 +0200 Message-ID: Subject: Re: Camel-Spring-ws-2.14.1 with Servicemix5 is giving issue To: "users@camel.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org 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 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/