IBM Support

PI28560: ADD HTTPDISPATCHER PROPERTY TO CONTROL PADDING OF A 404 MESSAGE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a request is received for an application context which
    does not exist, by default a message is returned which is
    padded to comprise 512 bytes. The additional padding added
    to the message can be used to determine that the request was
    processed by WebSphere Application Server Liberty profile.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: 404 message padding enables server      *
    *                      implementation to be identified.        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    APAR PM86342 fixed an issue where the 404 message returned for a
    request for a non-existent resource was not displayed in all
    browsers. The problem was due to the message being less than 512
    bytes and PM86342 fixed this by adding padding to messages of
    less than 512 bytes in length. The padding added is a comment so
    it is not displayed by the browser, however it can be used to
    identify the server implementation to which the request was
    sent.
    

Problem conclusion

  • The additional padding has been removed from the message and a
    httpDispatcher property added which must be set to true for the
    padding to be added. For example, in the server.xml:
    
    <httpDispatcher padAppOrContextRootMissingMessage="true">
    
    The default value is false. Note that some internet browsers
    will not display a message which is less than 512 bytes.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 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

  • There are 2 possible workarounds:
    1. The problem only happens when the httpDispatcher property
    "enableWelcomePage" is set to false (default is true).
    2. Another httpDispatcher property
    "appOrContextRootMissingMessage" can be used to set the message
    returned when enableWelcomePage is set to false. If this is set
    to a message of at least 512 bytes no padding will be added.
    

Comments

APAR Information

  • APAR number

    PI28560

  • 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-10-28

  • Closed date

    2015-01-29

  • Last modified date

    2015-01-29

  • 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