PQ74547: RESPONSE BUFFER IS NOT BEING PROPERLY FLUSHED ON CALL TO FLUSH() | |||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() 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 upComments
APAR is sysrouted FROM one or more of the following: PQ73483 APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
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
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.