IBM Support

PI22830: 404 NOT FOUND ERROR GENERATED FOR A REQUEST WITHOUT A TRAILING SLASH

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A 404 error is generated for a request without a trailing
    slash after the context root. It works fine with the trailing
    slash.
    
    For example:
    https://hostname/context_root - fails with 404 error
    https://hostname/context_root/ - success
    

Local fix

  • Add the trailing slash to the end of the request.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Full       *
    *                  Profile versions 8.0 , 8.5.5, and Liberty   *
    *                  Profile version 8.5.5 users of              *
    *                  WebContainer.                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a request is made to the context   *
    *                      root of the application without a       *
    *                      trailing slash, a 404 error might be    *
    *                      generated.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a request is made to the context root of the application
    without using a trailing slash, and there is a filter doing a
    redirect to a relative URI, WebContainer constructs an
    incorrect redirect URL.  This causes the redirected request to
    fail.
    

Problem conclusion

  • The WebContainer code was modified to parse the request URI
    correctly in the case where the trailing slash is missing.
    
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.10 and 8.5.5.4.
    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

    PI22830

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-28

  • Closed date

    2014-10-28

  • Last modified date

    2014-10-28

  • 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

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 850

Reference #: PI22830

Modified date: 28 October 2014