-
1. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
njiang Mar 4, 2010 6:23 PM (in response to concombremasqué)From the stack trace , it looks ESB can't find the Axis2 JAXWS Provider?
Can you make sure the ESB install the Axis2 bundle rightly ?
Running "osgi:list |grep axis " will help you to find it.
-
2. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
concombremasqué Mar 5, 2010 3:40 AM (in response to njiang)This does not make sense. I mean: there is no Axis bundle provided with FUSE ESB. And I remenber you that if I take my bundle and install it on FUSE ESB 4.1.0-psc-01 it works like a charm (without any Axis bundle)!
There is something wrong with ESB 4.2.0 (and I've already posted on this matter). Why does it works on 4.1.0-psc-01 without any Axis2 bundle? Why do I have now to install an Axis2 bundle in ESB 4.2.0?
CM
-
3. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
ffang Mar 7, 2010 10:45 PM (in response to concombremasqué)Hi,
I just provide patch for CAMEL-2528[1] which should fix this issue.
The workaround currently is that you edit
$SMX_HOME/system/org/apache/camel/karaf/apache-camel/2.2.0-fuse-01-00/apache-camel-2.2.0-fuse-01-00-features.xml
replace
https://issues.apache.org/activemq/browse/CAMEL-2528
Freeman
-
4. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
concombremasqué Mar 8, 2010 2:58 AM (in response to ffang)Thanks Freeman I'll give it a try asap.
By the way, what is the reason for having 2 bundles that expose the same packages (geronimo-jaxws_2.1_spec vs org.apache.servicemix.specs.jaxws-api-2.1, same thing for antlr wich is both defined in springsource antlr bundle and servicemix bundle)? It is very confusing to me.
Thanks.
CM
-
5. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
concombremasqué Mar 8, 2010 4:48 AM (in response to ffang)Hi,
Your workaround seems to fix the issue (though I don't understand your fix because FUSE ESB 4.1.0-psc-01 makes use of the same camel feature and it works)... but I still regularly encounter the "No component found with scheme: cxf" blocking issue (I've posted about this here: http://fusesource.com/forums/thread.jspa?threadID=1688&tstart=0).
CM
-
6. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
ffang Mar 11, 2010 11:29 PM (in response to concombremasqué)Hi CM,
org.apache.servicemix.specs.jaxws-api-2.1(and also other specs bundle from servicemix) use extra osgi locator to look for the impl class from osgi env, that's resolve the common issue when use provider factory machenasim in osgi container.
Freeman
-
7. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
bpoday@yahoo.com May 23, 2010 12:27 PM (in response to ffang)I made this change to the apache-camel-2.2.0-fuse-01-00-features.xml file, re-installed the camel-cxf feature, but continue to get this error...any thoughts?
09:24:43,794 | WARN | haseInterceptorChain | Interceptor for SOAPService has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Problems creating SAAJ object model
at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.handleMessage(SAAJInInterceptor.java:190)
at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.handleMessage(SAAJInInterceptor.java:71)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:109)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:312)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:276)
at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis2.saaj.MessageFactoryImpl not found
at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:89)
at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.getFactory(SAAJInInterceptor.java:88)
at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.handleMessage(SAAJInInterceptor.java:100)
... 17 more
-
8. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
ffang May 23, 2010 8:35 PM (in response to bpoday@yahoo.com)Hi,
Seems you didn't use saaj-api and saaj-impl bundle from servicemix.
You should use those bundles from servicemix side, which we use OSGi-locator to ensure it works in OSGi Container.
When you use osgi:list,
You should only see saaj related bundles like
Apache ServiceMix Specs :: SAAJ API 1.3 (1.4.0)
Apache ServiceMix Bundles: saaj-impl-1.3.2 (1.3.2.1)
Could you please check your bundles?
Freeman
-
9. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
njiang May 23, 2010 8:39 PM (in response to bpoday@yahoo.com)It looks like the camel-cxf feature doesn't have the saaj impl bundle, you can install cxf feature first to workaround this issue.
Willem
-
10. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
benoday May 23, 2010 10:11 PM (in response to njiang)installing the "cxf" feature resolved the issue...thanks
-
11. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
bellator Apr 21, 2011 2:56 PM (in response to ffang)I am getting this error and the steps provided above have no helped.
Here are my specs:
ServiceMix: 4.3.0
Camel: 2.4.0
*-features.xml
Any other suggestions or items to research?
-
12. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
ffang Apr 21, 2011 8:53 PM (in response to bellator)Hi,
Could you provide exact ESB version?
Any chance you use latest released FUSE ESB 4.3.1-fuse-01-09 from ?
http://repo.fusesource.com/nexus/content/repositories/releases/org/apache/servicemix/apache-servicemix/4.3.1-fuse-01-09/
Freeman
-
13. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
njiang Apr 21, 2011 9:57 PM (in response to bellator)There are a known CXF feature issue of Fuse ESB 4.3.0-fuse-01-00, can you try to use the Fuse ESB 4.3.0-fuse-03-00?
Willem
-
14. Re: ESB 4.2.0 - CXF - Provider org.apache.axis2.jaxws.spi.Provider not foun
bellator May 2, 2011 12:01 PM (in response to ffang)I am using apache-servicemix-4.3.0-fuse-02-00.