]
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