tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alec Swan <alecs...@gmail.com>
Subject Tomcat 6.0.32 ClientAbortException java.io.IOException
Date Thu, 04 Aug 2011 16:26:40 GMT
Hello,

We are experiencing a problem on our production servers causing our
HTTP clients to hang. I apologize for cross-posting with Metro forum
but this is a critical problem for us.

It looks like client SOAP HTTP requests get dropped/terminated by
Tomcat or metro without notifying the client that request was
terminated leaving the client waiting indefinitely for response.

Here is what we observed:
1. Client makes a SOAP call to the server
2. Tomcat receives HTTP request and we can see it listed on Tomcat Manager page
3. After about 5 minutes HTTP request disappears from the list of
active HTTP request
4. The client is still waiting for response

We also noticed the following exception logged in catalina.out. It is
thrown around the same time when the problem above occurs but we are
not sure if there is a direct correlation between them.

Aug 1, 2011 12:07:44 AM
com.sun.xml.ws.transport.http.servlet.WSServletDelegate doGet

SEVERE: caught throwable

javax.xml.ws.WebServiceException: com.ctc.wstx.exc.WstxIOException: null

	at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:112)

	at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:278)

	at com.sun.xml.ws.transport.http.HttpAdapter.encodePacket(HttpAdapter.java:383)

	at com.sun.xml.ws.transport.http.HttpAdapter.access$100(HttpAdapter.java:93)

	at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:529)

	at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288)

	at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)

	at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)

	at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)

	at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)

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

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

	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)

	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)

	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)

	at java.lang.Thread.run(Unknown Source)

Caused by: com.ctc.wstx.exc.WstxIOException: null

	at com.ctc.wstx.sw.BaseStreamWriter.finishDocument(BaseStreamWriter.java:1687)

	at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:585)

	at com.sun.xml.ws.message.saaj.SAAJMessage.writeTo(SAAJMessage.java:368)

	at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:109)

	... 24 more

Caused by: ClientAbortException: java.io.IOException

	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:319)

	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)

	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)

	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)

	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:214)

	at com.ctc.wstx.sw.BufferingXmlWriter.close(BufferingXmlWriter.java:194)

	at com.ctc.wstx.sw.BaseStreamWriter.finishDocument(BaseStreamWriter.java:1685)

	... 27 more

Caused by: java.io.IOException

	at org.apache.coyote.http11.InternalAprOutputBuffer.flushBuffer(InternalAprOutputBuffer.java:716)

	at org.apache.coyote.http11.InternalAprOutputBuffer.flush(InternalAprOutputBuffer.java:304)

	at org.apache.coyote.http11.Http11AprProcessor.action(Http11AprProcessor.java:1021)

	at org.apache.coyote.Response.action(Response.java:183)

	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)

	... 33 more


Any help will be greatly appreciated.

Thanks!

Alec

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message