PQ74921: WRITEBEYONDCONTENTLENGTHEXCEPTION (See also PQ74729)

 A fix is available

PQ74921, 5.0.0, 5.0.1:writeBeyondContentLengthException causes an improper reset



APAR status
Closed as program error.

Error description
Customer receives
com.ibm.servlet.engine.srt.WriteBeyondContentLengthException
An output stream leak occurs because resources are not
cleaned up properly after this exception.
WENG WASENG CONTENTLENGTH
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users who write *
*                 a stream larger than the set content length  *
*                 to the servlet output and later reuse this   *
*                 servlet output                               *
****************************************************************
* PROBLEM DESCRIPTION: If a stream larger than the set content *
*                      length is writen to the servlet output  *
*                      stream, WebSphere will throw a          *
*                      WriteBeyondContentLengthException. But  *
*                      if this servlet output stream is reused *
*                      later, WebSphere keeps throwing the     *
*                      same exception.                         *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
WebSphere web engine does not clear the servlet output stream
exception before sending this output stream to the object pool.
So if there is any exception in the servlet output stream, the
exception will be thrown again when the servlet output stream
gets reused.
Problem conclusion
To prevent the WriteBeyondContentLengthException, WebSphere
web engine will now clear the exception before sending the
servlet output stream for reuse.
Temporary fix
ZE FIX ERROR 
PQ77830 03/10/15
test fix is ready
Comments
APAR information
APAR number PQ74921
Reported component name WEBSPHERE AE AI
Reported component ID 5630A3600
Reported release 00A
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-06-05
Closed date 2003-06-10
Last modified date 2004-04-30

APAR is sysrouted FROM one or more of the following:
PQ74729

APAR is sysrouted TO one or more of the following:

Modules/Macros
Engine          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00S PSY    UP
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00A
Software edition:
Reference #: PQ74921
IBM Group: Software Group
Modified date: Apr 30, 2004