Timeout and Frequent BEA-381304 Errors Due to Abnormal Socket Termination within the Socket Muxer Layer (Doc ID 981178.1)

Last updated on MAY 01, 2017

Applies to:

Oracle Service Bus - Version 2.6 to 2.6.1RP [Release Aqualogic Service Bus]
Information in this document applies to any platform.
***Checked for relevance on 05-Mar-2014***


Timeout and frequent BEA-381304 errors due to abnormal socket termination within the socket muxer layer are happening in your system.
This problem happens only with HTTPS. When Keep-Alive is disabled on WebLogic Server and the browser sends a POST request to a servlet, in case the servlet does not implement getParameter method, WLS sends a RST packet while sending a response.

ALSB is unable to gracefully handle RST packages sent by a backend server. Backend WebServices deployed  on a Backend server could be anything for example JBOSS or AXIS.
In the log file, the following exception trace will be available:
<BEA-381304> <Exception in HttpOutboundMessageContext.RetrieveHttpResponseWork.run: java.io.IOException: SocketMuxer detected socket closure while waiting for a response
java.io.IOException: SocketMuxer detected socket closure while waiting for a response 
at weblogic.net.http.AsyncResponseHandler$MuxableSocketHTTPAsyncResponse$SocketClosedNotification(AsyncResponseHandler.java:560) 
at weblogic.net.http.AsyncResponseHandler$MuxableSocketHTTPAsyncResponse.handleError(AsyncResponseHandler.java:387)
at weblogic.net.http.AsyncResponseHandler$MuxableSocketHTTPAsyncResponse.endOfStream(AsyncResponseHandler.java:497)
at weblogic.socket.SSLFilter.endOfStream(SSLFilter.java:280)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:737)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:684)
at weblogic.socket.SSLFilter.isMessageComplete(SSLFilter.java:212)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:851)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:802)
at weblogic.socket.EPollSocketMuxer.dataReceived(EPollSocketMuxer.java:192)
at weblogic.socket.EPollSocketMuxer.processSockets(EPollSocketMuxer.java:174)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms