My Oracle Support Banner

BEA-101104 And java.net.ProtocolException Are Generated on WLS PSU 12.1.3.0.171017 (Doc ID 2340365.1)

Last updated on FEBRUARY 26, 2019

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

 BEA-101104 with java.net.ProtocolException is generated on WLS PSU 12.1.3.0.171017 when static file is downloaded via WLS.

####<Nov 13, 2017 6:25:38 PM IST> <Error> <HTTP> <><>
<[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'> <> <> <> <1510577738853>
<BEA-101104> <Servlet execution in servlet context
"ServletContext@1355720851[app:foo module:hoge path:null spec-version:3.0]"
failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote:
'21815' bytes instead of stated: '162879' bytes..
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '21815'
bytes instead of stated: '162879' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:500)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1580)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1613)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1642)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:256)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
>

 

Changes

  1.  <Patch:23342794> or WLS PSU 12.1.3.0.171017 <Patch:26519417> or WLS PSU 12.1.3.0.170718 <Patch:25869659> is applied.
  2. static file is downloaded via WebLogic FileServlet
  3. Servlet filter is used
Note: This issue does not reproduce with above simple conditions only. An additional condition should be needed, but it has not been clear so far.

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.