1 Reply Latest reply on Nov 3, 2008 9:35 AM by anne_diefenbach

    Error when running ESB 3.3.1.9 example

    anne_diefenbach Newbie

      System: Red Hat Enterprise Linux 4

      Java: Sun JDK 1.5.0_16

       

      Hi,

      when trying to run the "Getting Started"-example http://fusesource.com/docs/esb/3.3/getting_started/index.html) by sending the standard request via client.html, I get the following error:

       

      STATUS: 500

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Error reading XMLStreamReader.</faultstring></soap:Fault></soap:Body></soap:Envelope>

       

      This is because of the following exception:

       

      24.10.2008 08:54:48 org.apache.cxf.phase.PhaseInterceptorChain doIntercept

      INFO: Interceptor has thrown exception, unwinding now

      org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.

              at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)

              at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:56)

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

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

              at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:278)

              at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:252)

              at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)

              at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:757)

              at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)

              at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)

              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:502)

              at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:826)

              at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:523)

              at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

              at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:377)

              at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

              at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:497)

      Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

      at :

              at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:661)

              at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)

              at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)

              at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)

              at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)

              at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:85)

              ... 18 more

       

      Does anyone else get this error? Is this a general bug (it does seem similar to this one, https://issues.apache.org/activemq/browse/SM-1508), or am I doing something wrong?

       

      Edited by: anne on Oct 24, 2008 4:28 AM