IBM Support

PI31717: ServlerResponse.flushbuffer() does not work correctly.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ServlerResponse.flushbuffer() does not flush data to the
    client as expected if:
    1. A ServletOutputStream is in use.
    2. The response has already been committed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - Web Container      *
    ****************************************************************
    * PROBLEM DESCRIPTION: ServletResponse.flushbuffer() does not  *
    *                      flush a ServletOutputStream if the      *
    *                      response was already committed.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If an application is using a ServletOutputStream for writing
    response data, a call to ServletResponse.flushbufffer() will not
    flush the response to the client if the response is already
    committed. Instead, the response data will only be sent when the
    response is closed. However, if the application is using a
    PrintWriter, ServletResponse.flushBuffer() works as expected.
    

Problem conclusion

  • The WebContainer has been updated to always flush data to the
    client when ServletResponse.flushbuffer() is called.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 8.5.5.5. Please refer to the recommended updates page
    for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI31717

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-18

  • Closed date

    2015-02-23

  • Last modified date

    2015-02-23

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

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022