IBM Support

PI27372: CALL TO GETREQUESTDISPATCHER INSIDE FILTER INIT METHOD CAUSES AN EXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Calling a getRequestDispatcher inside the filter init met
    hod makes the whole filter list to fail. Only the previous
    filters initialized before the exception occurred work.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:   All users of IBM WebSphere Application     *
    *                  Server Liberty Profile version 8.5.5        *
    ****************************************************************
    * PROBLEM DESCRIPTION: A                                       *
    *                      java.util.ConcurrentModificationExcepti *
    *                      on occurs during the initialization of  *
    *                      application defined filters             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If additional filter mappings are added to the existing filter
    mappings list, a ConcurrentModificationException is thrown.
    After the exception is thrown, the remaining filters in the list
    are not added. A known cause for this is calling the
    getRequestDispatcher method during the filter initialization.
    An example of this exception would be:
    [1/29/14 11:29:12:633 CST] 00000025
    com.ibm.ws.webcontainer.webapp                               E
    SRVE0267E: Error occured while initializing filters: {0}
    java.util.ConcurrentModificationException
        at
    java.util.ArrayList$Itr.checkForComodification(ArrayList.java:81
    9)
        at java.util.ArrayList$Itr.next(ArrayList.java:791)
        at
    com.ibm.ws.webcontainer.filter.WebAppFilterManager.init(WebAppFi
    lterManager.java:217)
        at
    com.ibm.ws.webcontainer.osgi.webapp.WebApp.initializeFilterManag
    er(WebApp.java:854)
        at
    com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinall
    y(WebApp.java:1076)
        at
    com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:965
    )
        at
    com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:603
    8)
    

Problem conclusion

  • The Web Container code was changed so that the filter mappings
    were copied to a new list so that the
    ConcurrentModificationException does not occur.
    The fix for this APAR is currently targeted for inclusion in fix
    pack 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

    PI27372

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-10

  • Closed date

    2014-10-15

  • Last modified date

    2014-11-11

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022