Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17933

[GSS](7.2.z) WFTC-78 - XA file registry does not delete records when prepare reports READ ONLY

XMLWordPrintable

    • +
    • Hide

      None

      Show
      None
    • Hide

      Adding a testcase under EAP QE testsuite named TxPropagationJMSCrashRecoveryTestCase#noneRemoteReadOnly

      Show
      Adding a testcase under EAP QE testsuite named TxPropagationJMSCrashRecoveryTestCase#noneRemoteReadOnly

      File system registry records are not deleted when prepare call reports read-only. The WFTC returns the XAResource.XA_RDONLY when there was no data changes done at the remote server. The WFTC then does not consider such resource as in-doubt (the registry does not add it with resourceInDoubt.resourceInDoubt(this)). That means that the XAResource.recover() does not return such resource and the record at data/ejb-xa-recovery is not deleted.

      Note: the record would be deleted if the JVM restarts. Then all records from data/ejb-xa-recovery is loaded as in-doubt and the XAResource.recover() would manage them.

              rhn-support-ivassile Ilia Vassilev
              rhn-support-toross Tom Ross
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: