10 Replies Latest reply on Aug 16, 2011 11:21 AM by David Caldwell

    Problem accessing /cxf/HelloWorld

    David Caldwell Newbie

      I went through the install guide with version 4.4 of the ESB on windows 7.  I'm now working through the product introduction document.  After I deploy the cxf-osgi example, I get the following error in the browser when I attempt to get the hello world wsdl (http://localhost:8181/cxf/HelloWorld?wsdl):

      -


      HTTP ERROR 500

       

      Problem accessing /cxf/HelloWorld. Reason:

       

          Requested factory com.ctc.wstx.stax.WstxOutputFactory cannot be located.  Classloader =BundleDelegatingClassLoader for

       

      Caused by:

       

      javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.WstxOutputFactory cannot be located.  Classloader =BundleDelegatingClassLoader for

           at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:126)

           at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:115)

           at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:51)

           at javax.xml.stream.XMLOutputFactory.newInstance(XMLOutputFactory.java:29)

           at org.apache.cxf.staxutils.StaxUtils.getXMLOutputFactory(StaxUtils.java:178)

           at org.apache.cxf.staxutils.StaxUtils.createXMLStreamWriter(StaxUtils.java:229)

           at org.apache.cxf.frontend.WSDLGetInterceptor.writeResponse(WSDLGetInterceptor.java:274)

           at org.apache.cxf.frontend.WSDLGetInterceptor.handleMessage(WSDLGetInterceptor.java:121)

           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)

           at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:118)

           at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:206)

           at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:218)

           at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:200)

           at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:113)

           at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:184)

           at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:112)

           at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)

           at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:163)

           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)

           at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)

           at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)

           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

           at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)

           at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)

           at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)

           at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)

           at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)

           at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)

           at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)

           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

           at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)

           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)

           at org.eclipse.jetty.server.Server.handle(Server.java:346)

           at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)

           at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)

           at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)

           at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)

           at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)

           at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:531)

           at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)

           at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)

           at java.lang.Thread.run(Thread.java:619)

       

      Powered by Jetty://

      -


       

      Any ideas on what might be causing the example to fail & how to fix it?

       

      David