Sergey Beryozkin wrote:
> 
> I think you may be able to overcome it like this, before calling
> bean.create() :
> 
> BindingFactoryManager manager =
> bean.getBus().getExtension(BindingFactoryManager.class);
> manager.registerBindingFactory(JAXRSBindingFactory.JAXRS_BINDING_ID, new
> JAXRSBindingFactory())
> 
> give it a try please...
> 

Yeah, the WS now is up.
Still, I get a java.lang.NullPointerException in method
ChainInitiationObserver.onMessage(), since "bus" is null.

This is the stacktrace:
        at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:302)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:265)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
        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:324)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)

If I can solve this, I could try to write a small howto...

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/-CXF-2.2.2--JAXRS--No-binding-factory-for-namespace-http%3A--apache.org-cxf-binding-jaxrs-registered.-tp23880630p23939344.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to