[JBoss JIRA] (JBTM-1917) XTS*RecoveryManager.getRecoveryManager() can return null if application deployed before XTS starts
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1917?page=com.atlassian.jira.plugin.... ]
Work on JBTM-1917 started by Gytis Trikleris.
> XTS*RecoveryManager.getRecoveryManager() can return null if application deployed before XTS starts
> --------------------------------------------------------------------------------------------------
>
> Key: JBTM-1917
> URL: https://issues.jboss.org/browse/JBTM-1917
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: XTS
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.0.0.M5
>
>
> The problem is that there is currently no way of specifying that an application depends on XTS. Therefore it's possible that when the server starts, that the application can be deployed before XTS is started, thus a call to XTSBARecoveryManager.getRecoveryManager() or XTSATRecoveryManager.getRecoveryManager() will return null.
> The workaround is to poll for the RecoveryManager until it is not null.
> The fix is to have the RecoveryManager injected into the application via a Deployment Unit Processor that has a dependency on the XTS service.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months