Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1917

XTS*RecoveryManager.getRecoveryManager() can return null if application deployed before XTS starts

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • None
    • 5.0.0.M5
    • XTS
    • None

    Description

      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.

      Attachments

        Activity

          People

            gtrikler@redhat.com Gytis Trikleris
            paul.robinson@redhat.com Paul Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: