IBM Support

PH51659: INDEXOUTOFBOUNDSEXCEPTION CAN OCCUR DURING A RESOURCE OUTAGE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • java.lang.IndexOutOfBoundsException can occur during a back end
    resource outage. During an outage connections can be marked to
    be destroyed and should not be reused. The FreePool code is
    removing the bad connection, but its matching with the same
    connection. Since its a match, it tries to remove the connection
    again, resulting in the exception.
    
    java.lang.IndexOutOfBoundsException: Index: #, Size: #
    	at java.util.ArrayList.rangeCheck(ArrayList.java:670)
    	at java.util.ArrayList.remove(ArrayList.java:509)
    	at
    com.ibm.ejs.j2c.FreePool.getFreeConnection(FreePool.java:995)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server using resource adapters              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Index out of bounds exception can       *
    *                      occur for connections marked to be      *
    *                      destroyed.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    For some connections when they are marked to be destroyed and
    to be removed from the connection pool, the follow exception
    may occur.
    java.lang.IndexOutOfBoundsException: Index: #, Size: #
    at java.util.ArrayList.rangeCheck(ArrayList.java:670)
    at java.util.ArrayList.remove(ArrayList.java:509)
    at
    com.ibm.ejs.j2c.FreePool.getFreeConnection(FreePool.java:995)
    

Problem conclusion

  • The code has been change to avoid the index out of bounds
    exception.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.24 and 9.0.5.15. For more information, see 'Recommended
    Updates for  WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH51659

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-12-29

  • Closed date

    2023-03-17

  • Last modified date

    2023-03-17

  • 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

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

Document Information

Modified date:
18 March 2023