1 2 Previous Next 16 Replies Latest reply on Jan 18, 2007 2:36 PM by Weston M. Price

    Recovery manager not calling recover

    Tim Fox Master

      I notice that after our application (JBM) has been running for a while, the recovery manager only calls hasMoreResources() on the XAResourceRecovery instance.

      16:39:58,812 INFO @Thread-4 [loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
      16:40:00,812 INFO @Thread-4 [arjLogger] Periodic recovery - second pass <Thu, 18 Jan 2007 16:40:00>
      16:40:00,812 INFO @Thread-4 [loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
      16:40:00,812 TRACE @Thread-4 [BridgeXAResourceRecovery] org.jboss.jms.recovery.BridgeXAResourceRecovery@1e1dadb hasMoreResources
      16:40:00,812 INFO @Thread-4 [BridgeXAResourceRecovery] Returning false
      16:40:00,812 TRACE @Thread-4 [BridgeXAResourceRecovery] org.jboss.jms.recovery.BridgeXAResourceRecovery@e79839 hasMoreResources
      16:40:00,812 INFO @Thread-4 [BridgeXAResourceRecovery] Returning false
      16:40:10,812 INFO @Thread-4 [arjLogger] Periodic recovery - first pass <Thu, 18 Jan 2007 16:40:10>
      16:40:10,812 INFO @Thread-4 [loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
      16:40:12,812 INFO @Thread-4 [arjLogger] Periodic recovery - second pass <Thu, 18 Jan 2007 16:40:12>
      16:40:12,812 INFO @Thread-4 [loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
      16:40:12,812 TRACE @Thread-4 [BridgeXAResourceRecovery] org.jboss.jms.recovery.BridgeXAResourceRecovery@1e1dadb hasMoreResources
      16:40:12,812 INFO @Thread-4 [BridgeXAResourceRecovery] Returning false
      16:40:12,812 TRACE @Thread-4 [BridgeXAResourceRecovery] org.jboss.jms.recovery.BridgeXAResourceRecovery@e79839 hasMoreResources
      16:40:12,812 INFO @Thread-4 [BridgeXAResourceRecovery] Returning false
      16:40:16,968 WARN @Thread-5 [LeasePinger] Error sending lease ping to server for client invoker (session id 5c4o1b-flxk13-ex3esvbm-1-ex3eswde-b.
      16:40:22,812 INFO @Thread-4 [arjLogger] Periodic recovery - first pass <Thu, 18 Jan 2007 16:40:22>
      16:40:22,812 INFO @Thread-4 [loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
      16:40:24,812 INFO @Thread-4 [arjLogger] Periodic recovery - second pass <Thu, 18 Jan 2007 16:40:24>
      16:40:24,812 INFO @Thread-4 [loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
      16:40:24,812 TRACE @Thread-4 [BridgeXAResourceRecovery] org.jboss.jms.recovery.BridgeXAResourceRecovery@1e1dadb hasMoreResources
      16:40:24,812 INFO @Thread-4 [BridgeXAResourceRecovery] Returning false
      16:40:24,812 TRACE @Thread-4 [BridgeXAResourceRecovery] org.jboss.jms.recovery.BridgeXAResourceRecovery@e79839 hasMoreResources
      16:40:24,812 INFO @Thread-4 [BridgeXAResourceRecovery] Returning false
      16:40:34,812 INFO @Thread-4 [arjLogger] Periodic recovery - first pass <Thu, 18 Jan 2007 16:40:34>
      16:40:34,812 INFO @Thread-4 [loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
      16:40:36,828 INFO @Thread-4 [arjLogger] Periodic recovery - second pass <Thu, 18 Jan 2007 16:40:36>
      16:40:36,828 INFO @Thread-4 [loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
      16:40:36,828 TRACE @Thread-4 [BridgeXAResourceRecovery] org.jboss.jms.recovery.BridgeXAResourceRecovery@1e1dadb hasMoreResources
      16:40:36,828 INFO @Thread-4 [BridgeXAResourceRecovery] Returning false
      16:40:36,828 TRACE @Thread-4 [BridgeXAResourceRecovery] org.jboss.jms.recovery.BridgeXAResourceRecovery@e79839 hasMoreResources
      16:40:36,828 INFO @Thread-4 [BridgeXAResourceRecovery] Returning false
      16:40:36,984 WARN @Thread-5 [LeasePinger] Error sending lease ping to server for client invoker (session id 5c4o1b-flxk13-ex3esvbm-1-ex3eswde-b.
      


      It doesn't call getXAResource() any more, neither does it call recover() on any previously got XAResources, or any other operations on them.

      Is this correct operation? If so, then how can it know about any new transactions to recover?

        1 2 Previous Next