PQ74547: RESPONSE BUFFER IS NOT BEING PROPERLY FLUSHED ON CALL TO FLUSH()

 A fix is available

5.0.2: WebSphere Application Server Version 5.0 Fix Pack 2 (Version 5.0.2)



APAR status
Closed as program error.

Error description
Reponse buffer is not being flushed properly when data
in the buffer is greater than 8K and flush() method is
called on the OutputStream.  The data is flushed upon
the end of the request.  The buffer is flushed
properly if a PrintWriter is used instead of an
OutputStream.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of        *
*                 ServletResponse.getOutputStream() when       *
*                 writing response data to the client.         *
****************************************************************
* PROBLEM DESCRIPTION: When a user writes data larger than     *
*                      the servlet outputstream buffer and     *
*                      then calls flush() the data is not      *
*                      being written immediately to the        *
*                      client.                                 *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When a user calls flush() in the servlet, the servlet will
flush its own buffer to the outputstream buffer.  When the
servlet buffer is empty, no flush request will be sent. If the
servlet buffer is empty but the outputstream buffer is not
empty, the flush() method will not work properly.
Problem conclusion
Modified webcontainer code to flush all data that is
currently inside of the outputstream buffer when
flush() is called.  Prior to this change, only the
initial buffer was being written to the client.
Temporary fix
ZE FIX ERROR 
PQ77830 03/10/15
PQ73483_Fix.jar is up now, please pick it up
Comments
APAR information
APAR number PQ74547
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 00W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-05-23
Closed date 2003-05-23
Last modified date 2003-10-15

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

APAR is sysrouted TO one or more of the following:

Modules/Macros
Engine          

Publications Referenced

Fix information
Fixed component name WAS BASE 5.0
Fixed component ID 5630A3600

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


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ74547
IBM Group: Software Group
Modified date: Oct 15, 2003