IBM Support

PM70437: TRANSACTION MANAGER NOT RESTARTING CORRECTLY WHEN FEATURE CONFIG URATION IS CHANGED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a Liberty profile server includes the jdbc and servlet
    features, and the servlet feature is removed and re-added, the
    transaction manager component may not restart correctly and
    may issue the following messages:
    
    [ERROR   ] [TMService] Error during instantiation of the
    implementation object Bundle:com.ibm.tx.jta(id=62)
    java.lang.IllegalArgumentException: Hook previously registered
    [ERROR   ] [TMService] Failed creating the component instance;
    see log for reason Bundle:com.ibm.tx.jta(id=62)
    [ERROR   ] [TransactionManager] Cannot create component
    instance due to failure to bind reference tmService
    Bundle:com.ibm.ws.transaction(id=61)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile using the JDBC and   *
    *                  servlet features.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: The transaction manager cannot be       *
    *                      activated more than once in a single    *
    *                      run of a server.  Trying to activate    *
    *                      it for a second time results in error   *
    *                      messages and the service is not         *
    *                      usable.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The transaction manager cannot be activated more than once in
    a single run of a server.  Trying to activate it for a second
    time results in error messages and the service is not usable.
    It is seen in the following scenario:
    If a server includes the jdbc and servlet features, and the
    servlet feature is removed and re-added, the transaction
    manager component may not restart correctly and may issue the
    following messages:
    [ERROR   ] [TMService] Error during instantiation of the
    implementation object Bundle:com.ibm.tx.jta(id=62)
    java.lang.IllegalArgumentException: Hook previously registered
    [ERROR   ] [TMService] Failed creating the component instance;
    see log for reason Bundle:com.ibm.tx.jta(id=62)
    [ERROR   ] [TransactionManager] Cannot create component
    instance due to failure to bind reference tmService
    Bundle:com.ibm.ws.transaction(id=61)
    

Problem conclusion

  • The TMService registers a shutdown handler every time its
    constructed. The second time the TMService is initialized, its
    attempting to re-add the shutdown handler.  The unnecessary
    registration of the shutdown call has been removed.
    
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.1. 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

    PM70437

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-07

  • Closed date

    2012-08-21

  • Last modified date

    2012-08-21

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • 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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021