5 Replies Latest reply on Jun 2, 2006 8:54 AM by mskonda

    Examples of recovery

    marklittle

      For those interested, there's now a wiki page on recovery in JBossTS at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossTSRecovery

        • 1. Re: Examples of recovery
          swheater

          From the output in "JBossTSRecoveryInAS page" it appears that JBossTS-JTA-4.2's recovery ("out of the box" configuration, plus XARecoverModule, operating within JBoss) doesn't call 'recover' to get the Xid's of prepared transactions so they can be recovered.

          Is an additional recovery module needed to get this behaviour?

          • 2. Re: Examples of recovery
            marklittle

            In the case of serialized XAResources, it doesn't call recover on the de-serialized instance, but uses that only to recover that specific inflight transaction. However, you can register XAResourceRecovery instances and the XARecoveryModule will invoke those to get any other needed XAResources.

            • 3. Re: Examples of recovery

              Under JTS Recovery, the class for XARecoveryModule is mentioned as

              com.arjuna.ats.internal.jta.recovery.jts.XARecoveryModule

              Is this suppose to be *.arjunacore.XARecoveryModule? I couldn't find any class with that name under jts package. Or am I going blind :)

              Thanks
              Madhu

              • 4. Re: Examples of recovery
                kconner

                The arjunacore XARecoveryModule is for recovery of JTA transactions, the jts XARecoveryModule is for recovery of JTS transactions.

                The classes are

                com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule
                and
                com.arjuna.ats.internal.jta.recovery.jts.XARecoveryModule
                respectively.

                Kev


                • 5. Re: Examples of recovery

                  Thanks Kev! I have overlooked the jts package (I am going blind :) )