IBM Support

PI28751: ENHANCE THE PERFORMANCE SEARCH FOR RESOURCES IN /META-INF/RESOUR CES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Enhance the performance of search for resources in
    /META-INF/resources during application startup
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Full       *
    *                  Profile versions 8.0 and 8.5.5 users        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Performance enhancement for resource    *
    *                      searching in the /META-INF/resources.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Starting in Servlet Specification 3.0, static and JavaServlet
    Pages (JSP) resources can be packaged under the
    /META-INF/resources folder of a jar file which is located
    under the /WEB-INF/lib.  These resources can be requested just
    like any other resources that are under the WAR root folder.
    The WebContainer searches for the requested resources at
    runtime.  The search includes a sequence of unzipping and
    searching for the resource in each /WEB-INF/lib jar file until
    the resource is found.  If there are a large number of jar
    files under the /WEB-INF/lib, this might cause a performance
    impact while searching the /META-INF/resources at runtime.
    

Problem conclusion

  • The WebContainer code was modified to enhance the search
    performance for the /META-INF/resources.  During the
    application startup, the WebContainer searches for all the
    /WEB-INF/lib jars and caches the index of any
    /META-INF/resources.  This cache is not updated or refreshed
    until the application is restarted.
    
    At the time of the request, the cached index will be consulted
    to find the requested resource.
    
    Note:
    1. The new cache might consume some of the server's memory.
    The size is directly proportional to the total number of
    characters in the file name for all the /META-INF/resources
    jar.  No actual file content is cached.
    
    2. If a new /META-INF/resources jar is added dynamically, the
    application must be restarted to pick up the newly added
    resources.
    
    To disable the enhanced feature in this APAR, set the
    following WebContainer custom property:
    
    com.ibm.ws.webcontainer.searchMetaInfResourcesDuringAppStart =
    false (default is true)
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.10 and 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

Comments

APAR Information

  • APAR number

    PI28751

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

  • Closed date

    2014-12-02

  • Last modified date

    2014-12-02

  • 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

[{"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.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022