How do you debug and understand weblogic socket errors? (Doc ID 2192021.1)

Last updated on OCTOBER 12, 2016

Applies to:

Oracle Knowledge - Version 8.5.1.5 and later
Information in this document applies to any platform.

Goal

At times there are many socket connection errors in the IM and IC instance logs.  Here are some examples.

1. 658672 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR com.inquira.services.application.IMTokenFilter - java.lang.IllegalArgumentException: Header:Location Cannot contain CRLF Charcters
java.lang.IllegalArgumentException: Header:Location Cannot contain CRLF Charcters
at weblogic.servlet.internal.ServletResponseImpl.checkForCRLFChars(ServletResponseImpl.java:1679)
at weblogic.servlet.internal.ServletResponseImpl.setHeader(ServletResponseImpl.java:921)
at weblogic.servlet.internal.ServletResponseImpl.sendRedirect(ServletResponseImpl.java:870)
at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:136)

Weblogic Server (WLS) Throws java.lang.IllegalArgumentException: Header:Location Cannot contain CRLF Charcters on Servlet response.sendRedirect(responseString) Call (Doc ID 1375464.1)

2. There can be times when the some function is timing out and causing disconnects.

5335087 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR com.inquira.services.application.IMTokenFilter - java.net.SocketException: Software caused connection abort: socket write error
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:568)
at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:539)
at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:427)
at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:298)
at weblogic.servlet.internal.ChunkOutput$2.checkForFlush(ChunkOutput.java:648)
at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:200)
at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:148)
at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:148)
at java.io.OutputStream.write(OutputStream.java:58)
at com.inquira.services.application.IMTokenFilter.doFilter(IMTokenFilter.java:153)

Difference in the Type of Exception Thrown When a Client Socket Write Is Aborted (Doc ID 2008627.1)

Solution

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