IBM Support

PM41924: OVERRIDING GETPATHINFO() OR GETSERVLETPATH() METHODS IN HTTPSERVLETREQUESTWRAPPER, CAUSES INCORRECT FILENOTFOUND

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a customer overrides the getPathInfo() or the
    getServletPath() methods in their HttpServletRequestWrapper,
    an incorrect FileNotFound exception is thrown.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Version 8.0                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: An incorrect FileNotFoundException      *
    *                      can be thrown on the overridden         *
    *                      servlet path and path info values.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a request is forwarded to a static file and the
    getPathInfo() method or the getServletPath() method in a
    HttpServletRequestWrapper is overwritten, static file serving
    can throw a FileNotFoundException.
    

Problem conclusion

  • Webcontainer code changes have been made to correctly handle
    forwarding a request to a static file.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.1.  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

    PM41924

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-17

  • Closed date

    2011-07-20

  • Last modified date

    2011-08-18

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 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":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021