IBM Support

PK31377: SERVLET FILTER IS NOT CALLED FOR URL RESOURCES WHEN THEY ARE NOT FOUND.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • WebSphere V6, servlet filter is not called for URL resources
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: IBM WebSphere Application Server version 6   *
    *                 users of servlet filters.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The WebContainer is not calling servlet *
    *                      filters when a resource is not found.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During the processing of a request for a particular resource
    the WebContainer does not call any custom servlet filters. It
    is not uncommon for a developer to write a custom servlet
    filter that will modify the request to look in a different
    location if a particular resource was not found.
    Also, custom servlet filters were are not called prior to
    iterating through the welcome file list in search of a resource.
    

Problem conclusion

  • The WebContainer code was modified to call the custom servlet
    filters prior to looking for welcome files.  Also, if the
    WebContainer cannot find a resource, it will now call the
    filters before throwing a FileNotFoundException in case the
    filters modify the path to the resource.
    
    The following WebContainer custom property must be set to
    'true' for this new behaviour to be enabled:
    'com.ibm.ws.webcontainer.invokeFiltersCompatibility'
    
    The fix for this APAR is currently targeted for inclusion in
    fixpacks 6.0.2.21 and 6.1.0.9.
    
    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

    PK31377

  • Reported component name

    WEBSPH APP SERV

  • Reported component ID

    5724J0800

  • Reported release

    60A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-09-14

  • Closed date

    2007-04-19

  • Last modified date

    2007-04-19

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

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

Modules/Macros

  • ENGINE
    

Fix information

  • Fixed component name

    WEBSPH APP SERV

  • Fixed component ID

    5724J0800

Applicable component levels

  • R60A PSY

       UP

  • R60H PSY

       UP

  • R60I PSY

       UP

  • R60P PSY

       UP

  • R60S PSY

       UP

  • R60W PSY

       UP

  • R60Z PSY

       UP

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 6.0

Reference #: PK31377

Modified date: 19 April 2007


Translate this page: