IBM Support

PH23968: JAVA.UTIL.CONCURRENTMODIFICATIONEXCEPTION WHEN STOPPING SERVER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When stopping the application server a
    java.util.ConcurrentModificationException may occur.  Below is
    a representative callstack:
    
    WSVR0102E:
    com.ibm.ws.runtime.component.TxRecoveryServiceImpl@802feaa8
    
    java.util.ConcurrentModificationException
    at
    java.util.HashMap$AbstractMapIterator.checkConcurrentMod(HashMap
    .java:198)
    at
    java.util.HashMap$AbstractMapIterator.makeNext(HashMap.java:203)
    at java.util.HashMap$ValueIterator.next(HashMap.java:288)
    at
    com.ibm.ws.runtime.component.TxServiceImpl.serverStopping(TxServ
    iceImpl.java:1174)
    at
    com.ibm.ws.runtime.component.TxRecoveryServiceImpl.stop(TxRecove
    ryServiceImpl.java:79)
    ...
    at
    com.ibm.ws.runtime.component.ApplicationServerImpl.stop(Applicat
    ionServerImpl.java:286)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: java.util.ConcurrentModificationExcepti *
    *                      on may occur during server shutdown if  *
    *                      transactional high availability is      *
    *                      enabled.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If transactional High Availability is enabled for peer
    recovery then when an application server is stopping the
    following error may occur.
    ContainerHelp E  WSVR0102E: An error occurred stopping,
    com.ibm.ws.runtime.component.TxRecoveryServiceImpl@802feaa8
    java.util.ConcurrentModificationException
    at
    java.util.HashMap$AbstractMapIterator.checkConcurrentMod(HashMap
    .java:198
    at
    java.util.HashMap$AbstractMapIterator.makeNext(HashMap.java:203)
    at java.util.HashMap$ValueIterator.next(HashMap.java:288)
    at
    com.ibm.ws.runtime.component.TxServiceImpl.serverStopping(TxServ
    iceImpl.java:1174)
    at
    com.ibm.ws.runtime.component.TxRecoveryServiceImpl.stop(TxRecove
    ryServiceImpl.java:79)
    at
    com.ibm.ws.runtime.component.ContainerHelper.stopComponent(Conta
    inerHelper.java:477)
    at
    com.ibm.ws.runtime.component.ContainerHelper.stopComponents(Cont
    ainerHelper.java:461)
    at
    com.ibm.ws.runtime.component.ContainerImpl.stopComponents(Contai
    nerImpl.java:650)
    at
    com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.ja
    va:638)
    at
    com.ibm.ws.runtime.component.ApplicationServerImpl.stop(Applicat
    ionServerImpl.java:286)
    ...
    

Problem conclusion

  • The transaction service component tracks the set of servers
    for which it hosts the transaction service logs. This set
    may be modifed concurrently when transactional high
    availability is enabled. The transaction service component
    has been modified so that the concurrent access of the set is
    handled correctly during application server shutdown.
    
    The fix for this APAR is targeted for inclusion in fix packs
    8.5.5.19 and 9.0.5.6. 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

    PH23968

  • 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

    2020-04-01

  • Closed date

    2020-10-12

  • Last modified date

    2020-10-12

  • 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

  • R850 PSY

       UP

  • R900 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:
01 November 2021