[jbossts-issues] [JBoss JIRA] (JBTM-2514) TransactionManagerService stop does not run orb and oa shutdown hooks

Michael Musgrove (JIRA) issues at jboss.org
Tue Sep 22 05:25:00 EDT 2015

     [ https://issues.jboss.org/browse/JBTM-2514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove updated JBTM-2514:
    Fix Version/s: 5.2.3.Final
                       (was: 5.0.7)

> TransactionManagerService stop does not run orb and oa shutdown hooks
> ---------------------------------------------------------------------
>                 Key: JBTM-2514
>                 URL: https://issues.jboss.org/browse/JBTM-2514
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: JTS
>    Affects Versions: 5.0.4, 5.2.2
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>             Fix For: 5.2.3.Final
> The transaction manager service that we use for integration with app servers in JTS mode (com.arjuna.ats.jbossatx.jts.TransactionManagerService()) does not run any of our orb shutdown hooks in its stop method. The reason for this is that we use an orb supplied by the app server which we do not wrap so none of the shutdown hooks in our wrappers get called. In particular the JavaIdlRCShutdown hook isn't called so it is not possible to restart the RecoveryService (see JavaIdlRCServiceInit) with the consequence that the wildfly reload management operation fails.
> In summary, the scope of the fix is:
> * ensure that our (orb portablility layer) shutdown hooks are called when the TM service is stopped
> * ensure that we do not shutdown an externally supplied orb

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list