Colin Song created JBTM-2890:
--------------------------------
Summary: asyncAfterSynchronization throw exception when transaction abort
Key: JBTM-2890
URL:
https://issues.jboss.org/browse/JBTM-2890
Project: JBoss Transaction Manager
Issue Type: Bug
Components: JTA
Affects Versions: 5.5.24.Final, 5.5.0.Final
Reporter: Colin Song
*The problem:*
There's two problems about
asyncAfterSynchronization(com.arjuna.ats.arjuna.coordinator.asyncAfterSynchronization=true)
option:
* If we want asyncAfterSynchronization, we must set asyncBeforeSynchronization
* When tx abort, and we have asyncAfterSynchronization option, there's exception
*Root cause:* {{TwoPhaseCoordinator.synchronizationCompletionService}} and
{{TwoPhaseCoordinator.runningSynchronizations}} only inited in
{{asyncBeforeSynchronization}}
*Solution:*
Also init {{TwoPhaseCoordinator.synchronizationCompletionService}} and
{{TwoPhaseCoordinator.runningSynchronizations}} in asyncAfterSynchronization
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)