Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-737

XAResourceRecoveryImpl does not consider the possibility that wrapXAResource may be null

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      Add explicit <xa-pool> definition

      Show
      Add explicit <xa-pool> definition

    Description

      This results in a potential problem when deploying XML datasources in AS7 without an xa-pool:

      14:17:30,697 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016009: Caught:: java.lang.NullPointerException
      at org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl.getXAResources(XAResourceRecoveryImpl.java:187)
      at com.arjuna.ats.internal.jbossatx.jta.XAResourceRecoveryHelperWrapper.getXAResources(XAResourceRecoveryHelperWrapper.java:52) [jbossjts-integration-4.16.1.Final.jar:]
      at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecoveryForRecoveryHelpers(XARecoveryModule.java:462) [jbossjts-4.16.1.Final.jar:]
      at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:385) [jbossjts-4.16.1.Final.jar:]
      at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:166) [jbossjts-4.16.1.Final.jar:]
      at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789) [jbossjts-4.16.1.Final.jar:]
      at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-4.16.1.Final.jar:]

      I am just going to work around this in AS7 for now, but I think this should still be fixed in IJ.

      Attachments

        Activity

          People

            jpederse@redhat.com Jesper Pedersen
            sdouglas1@redhat.com Stuart Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: