IBM Support

PM71666: When 3 Double-byte character set (DBCS) characters were written, only 2 characters were flushed.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When 3 DBCS characters were written, only 2 characters were
    flushed.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server version    *
    *                  8.5 Liberty Profile users.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: DBCS response data is missing.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the application generates DBCS data and closes the
    response explicitly, the client might not be able to receive
    some data.
    The WebContainer tries to set the content-length header when
    the response.close() is called explicitly by the application.
    When any of the response's data characters is made up by three
    or more bytes, the content-length will not be calculated
    correctly at closing time.  The response data length might
    change when the data is encoded, causing the response data to
    be larger than the previously calculated content-length. This
    causes the client to read the response data up to the size of
    the content-length and ignore the rest of the data, making it
    appear as if there is missing data
    It is not a problem when the application does not close the
    response explicitly.
    

Problem conclusion

  • The WebContainer code was modified to not set the
    content-length if the application closes the response by
    itself.
    
    A new WebContainer customer property needs to be set to enable
    the behavior provided by this APAR:
    
    setContentLengthOnClose = false (default is true)
    
    Please refer to the following technote for instructions on
    enabling WebContainer custom properties:
    http://www-01.ibm.com/support/docview.wss?uid=swg21597753
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.2. 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

    PM71666

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-27

  • Closed date

    2012-11-26

  • Last modified date

    2013-04-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:
29 October 2021