IBM Support

PH62355: HAGROUPMEMBERALREADYEXISTSEXCEPTION MAY OCCUR DURING COMPENSATION SERVICE STARTUP

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

  • If the Compensation Service is enabled, a race condition may
    cause the application server to attempt a second registration
    with the High Availability Manager.  This does not affect the
    behaviour of the application server but does generate FFDC of
    the form:
    
    FFDC
    Exception:com.ibm.wsspi.hamanager.HAGroupMemberAlreadyExistsExce
    ption
    SourceId:com.ibm.ws.recoverylog.spi.RecLogServiceImpl.registerWi
    thHAManager ProbeId:803
    com.ibm.wsspi.hamanager.HAGroupMemberAlreadyExistsException:
    The member already exists
    	at
    com.ibm.ws.hamanager.impl.HAManagerImpl.joinGroup(HAManagerImpl.
    java:179)
    	at
    com.ibm.ws.hamanager.impl.GroupManagerImpl.joinGroup(GroupManage
    rImpl.java:75)
    	at
    com.ibm.ws.recoverylog.spi.RecLogServiceImpl.registerWithHAManag
    er(RecLogServiceImpl.java:1108)
    	at
    com.ibm.ws.recoverylog.spi.RecLogServiceImpl.enablePeerRecovery(
    RecLogServiceImpl.java:1262)
    	at
    com.ibm.ws.recoverylog.spi.RecoveryLogComponentImpl.enablePeerRe
    covery(RecoveryLogComponentImpl.java:167)
    	at
    com.ibm.ws.recoverylog.spi.RecoveryDirectorImpl.initialRecoveryC
    omplete(RecoveryDirectorImpl.java:1461)
    	at
    com.ibm.ws.tx.jta.RecoveryManager.recoveryComplete(RecoveryManag
    er.java:887)
    	at
    com.ibm.tx.jta.impl.RecoveryManager.resync(RecoveryManager.java:
    1796)
    	at
    com.ibm.tx.jta.impl.RecoveryManager.performResync(RecoveryManage
    r.java:2348)
    	at
    com.ibm.ws.tx.jta.RecoveryManager.performResync(RecoveryManager.
    java:119)
    	at
    com.ibm.tx.jta.impl.RecoveryManager.run(RecoveryManager.java:230
    1)
    	at java.lang.Thread.run(Thread.java:825)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of the   *
    *                  Compensation Service                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Startup of the Compensation Service     *
    *                      may generate FFDC indicating an         *
    *                      HAGroupMemberAlreadyExistsException     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A race condition in the recovery log service may occur
    when both the Transaction Service and the Compensation
    Service are initialised, leading to duplicate attempts to
    register with the HA Manager in an ND environment.
    This causes the generation of FFDC indicating a
    HAGroupMemberAlreadyExistsException.  This does not affect
    the behaviour of the system.
    

Problem conclusion

  • Synchronization within the recovery log service, called by
    both the Compensation an Transaction Services, was fixed to
    prevent the race condition.
    
    The fix for this APAR is targeted for inclusion in fix packs
    8.5.5.27 and 9.0.5.22. 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

    PH62355

  • 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

    2024-07-18

  • Closed date

    2024-09-05

  • Last modified date

    2024-09-05

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
05 September 2024