Hi, my client and server are getting intermittent socket timeouts with a pair of logged exceptions on each side. It happens randomly about 1% of the time.

The service is not heavily loaded, and typically only requires a few milliseconds to respond. The client is fairly loaded, but the error doesn't seem to be load related.

It seems to be behaving as if the client opens the connection, but never sends the message. The server then times out after 20 seconds and closes the connection.

Server and client are both Tomcat 5.5 on Linux, running version 2.1.1 of CXF.

I'd love any suggestions on how to diagnose this!



On the client:

org.apache.cxf.binding.soap.SoapFault: Could not create XMLStreamReader
  (input was of encoding UTF-8).
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage
  (Soap11FaultInInterceptor.java:70)
...

On the server:

Oct 22, 2008 7:08:11 AM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader (input was of encoding UTF-8). at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:83)
        ...
Caused by: com.ctc.wstx.exc.WstxIOException: Exception filling buffer with data from underlying input stream: not an EAGAIN status, so perhaps disconnected client? at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548)
        ... 22 more
Caused by: java.net.SocketTimeoutException: Exception filling buffer with data from underlying input stream: not an EAGAIN status, so perhaps disconnected client? at org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:827)
        ... 26 more


Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
Twitter: http://twitter.com/mojo_la

Reply via email to