4 Replies Latest reply on Dec 25, 2012 10:16 AM by vkopichenko

    Is this a JBoss TM transaction recovery regression?

    dengyong

      My environment:

          JBOSS TS 4.2.3-SP8 + JBOSS AS 4.2.2 community
      My Steps:
        
          I have a J2EE application. It starts a transacition and involve two XA resource. One is JBoss messaging while the other is Oracle database.
          I set a debug breakpoint in the XAResource.commit API of the two XA resources.
          During the transaction commit phase, I only let one XA resource commit and before the other XA resource commit, I kill the JBOSS application server.
          After JBoss restart, I can see following warning log continually poll out.
          Transaction manager can never succeed with following warning. The same case can work for JBoss TS 4.2.3 - SP6.
      2010-06-11 19:49:48,869 WARN  [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 26, 24, 1-a6f0342:f9d:4c11f185:17ca6f0342:f9d:4c11f185:17f                                                                               >
      2010-06-11 19:49:48,869 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.internal.arjuna.gandiva.inventory.StaticInventory_1] -  cannot find null implementation.
      2010-06-11 19:49:48,869 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_21] - BasicAction.restore_state - could not recover 175047490
      2010-06-11 19:49:48,869 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.RecoverAtomicAction_4] - RecoverAtomicAction: transaction not activated, unable to replay phase 2 commit
      2010-06-11 19:51:58,886 WARN  [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 26, 24, 1-a6f0342:f9d:4c11f185:17ca6f0342:f9d:4c11f185:17f                                                                               >
      2010-06-11 19:51:58,886 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.internal.arjuna.gandiva.inventory.StaticInventory_1] -  cannot find null implementation.
      2010-06-11 19:51:58,886 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_21] - BasicAction.restore_state - could not recover 175047490
      2010-06-11 19:51:58,886 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.RecoverAtomicAction_4] - RecoverAtomicAction: transaction not activated, unable to replay phase 2 commit
      
        
            I guess this is a regression bug. Can anyone confirm about this?