The request is definitely getting through tomcat to xFire, but the error seems to be when woodstox tries to read the SOAP stream

this is when the Server's under heavy load right? It could just be that your hitting a performance wall to do with tomcat processing requests. You may want to cross-post on the woodstox list to see if anyone there has seen this error. If you're running this under windows you may be hitting a thread/handle limit.

It could just be that this is the limit of a single tomcat and you may want to look at load-balancing with multiple workers.

Andrew123 wrote:
Ok, I upgraded woodstox to version 3.2.1, than got an exception:

15:51:23,322 ERROR XFireServletController:134 - Couldn't invoke servlet
request.
org.codehaus.xfire.XFireRuntimeException: Couldn't parse stream.. Nested
exception is com.ctc.wstx.exc.WstxIOException: Read timed out
com.ctc.wstx.exc.WstxIOException: Read timed out
        at 
com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548)
        at 
com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
        at 
com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:629)
        at
com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324)
        at
org.codehaus.xfire.util.STAXUtils.createXMLStreamReader(STAXUtils.java:762)
        at
org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:297)
        at
org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:129)
        at
org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:747)
        at
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)
        at
org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:115)
        at
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:712)
        at org.apache.coyote.Request.doRead(Request.java:418)
        at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:284)
        at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:404)
        at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:299)
        at
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:161)
        at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362)
        at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)
        at
com.ctc.wstx.io.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245)
        at
com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132)
        at 
com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543)

I think, this exception was caused by tomcat. Is it true?


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to