L.S.,
Thanks for reporting this issue - I raised https://issues.apache.org/jira/browse/SMX4-1380 to see if we can fix this for a next release. Regards, Gert On Wed, Feb 20, 2013 at 2:49 AM, Freeman Fang <freeman.f...@gmail.com>wrote: > Hi, > > This error is caused by that the endorsed saaj-api jar couldn't get picked > up by the karaf version used in SMX 4.5. > > As a workaround, you can > 1. remove > $SMX_HOME/lib/endorsed/org.apache.servicemix.specs.saaj-api-1.3-2.2.0.jar > 2. install -s > mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.saaj-api-1.3/2.2.0 > before install your customer bundle. > ------------- > Freeman(Yue) Fang > > Red Hat, Inc. > FuseSource is now part of Red Hat > Web: http://fusesource.com | http://www.redhat.com/ > Twitter: freemanfang > Blog: http://freemanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: @Freeman小屋 > > On 2013-2-20, at 上午3:45, ychawla wrote: > > > Hello All, > > I downloaded the SMX 4.5 full version. Congrats on releasing this > version! > > It is great to have newer version of Camel and CXF. > > > > I deployed a web service that I have working with the maven camel:run > > component but I getting an error in ServiceMix 4.5. > > > > This gist of the error is: Caused by: javax.xml.soap.SOAPException: > Unable > > to create MessageFactory: Provider for javax.xml.soap.MessageFactory > cannot > > be found > > > > The full trace is here: > > org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. > > at > > > org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:139)[136:org.apache.cxf.cxf-rt-bindings-soap:2.6.3] > > at > > > org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:101)[136:org.apache.cxf.cxf-rt-bindings-soap:2.6.3] > > at > > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[133:org.apache.cxf.cxf-api:2.6.3] > > at > > > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[133:org.apache.cxf.cxf-api:2.6.3] > > at > > > org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:348)[152:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.3] > > at > > > org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:312)[152:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.3] > > at > > > org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[152:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.3] > > at > > > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:943)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:879)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.server.Server.handle(Server.java:349)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:893)[108:org.eclipse.jetty.http:7.5.4.v20111024] > > at > > > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)[108:org.eclipse.jetty.http:7.5.4.v20111024] > > at > > > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[107:org.eclipse.jetty.server:7.5.4.v20111024] > > at > > > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[103:org.eclipse.jetty.io:7 > .5.4.v20111024] > > at > > > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[103:org.eclipse.jetty.io:7 > .5.4.v20111024] > > at > > > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[111:org.eclipse.jetty.util:7.5.4.v20111024] > > at > > > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[111:org.eclipse.jetty.util:7.5.4.v20111024] > > at java.lang.Thread.run(Thread.java:680)[:1.6.0_29] > > Caused by: javax.xml.soap.SOAPException: Unable to create MessageFactory: > > Provider for javax.xml.soap.MessageFactory cannot be found > > at > > javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:90)[:2.2.0] > > at > > > org.apache.cxf.binding.soap.saaj.SAAJFactoryResolver.createMessageFactory(SAAJFactoryResolver.java:56)[136:org.apache.cxf.cxf-rt-bindings-soap:2.6.3] > > at > > > org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.getFactory(SAAJInInterceptor.java:145)[136:org.apache.cxf.cxf-rt-bindings-soap:2.6.3] > > at > > > org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:127)[136:org.apache.cxf.cxf-rt-bindings-soap:2.6.3] > > > > > > Am I missing a feature or OSGi library? > > > > Thanks, > > Yogesh > > > > > > > > -- > > View this message in context: > http://servicemix.396122.n5.nabble.com/Servicemix-4-5-CXF-SAAJ-error-tp5715851.html > > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >