IBM Support

PI52661: STOPPING AN APPLICATION WHILE USING A SINGLE SHARED CLASS LOADER CAUSES AN ARRAYINDEXOUTOFBOUNDSEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the application class loader policy is set to Single, if
    one of the applications is stopped while the other applications
    are running, the following exception is generated:
    
    java.lang.ArrayIndexOutOfBoundsException
    at com.ibm.ws.classloader.CompoundClassLoader
    .findResource(Compou nd ClassLoader.java:1019)
    at com.ibm.ws.classloader.CompoundClassLoader
    .getResource(CompoundClassLoader.java:979)
    at com.ibm.ws.classloader.CompoundClassLoader
    .getResourceAsStream(C ompoundClassLoader.java:1156)
    

Local fix

  • Using a separate class loader for each application avoids the
    issue or do not stop the application while other applications
    are still running when using single class loader policy.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Stopping an application while using a   *
    *                      single shared class loader causes an    *
    *                      ArrayIndexOutOfBoundsException          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    WebSphere Application Server allows users to configure their
    server to use a single shared class loader for all
    applications, rather than a separate class loader for each
    application.  If an application is stopped while other
    applications are using the loader, this can cause an exception
    when the operations attempt to traverse classpath entries as
    they're being removed.
    

Problem conclusion

  • The shared class loader no longer removes classpath entries
    upon application stop.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 7.0.0.43, 8.0.0.13, and 8.5.5.10.  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

    PI52661

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-17

  • Closed date

    2016-02-22

  • Last modified date

    2016-07-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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R700 PSY

       UP

  • 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