0 Replies Latest reply on Dec 3, 2014 11:33 AM by Francesco Marchioni

    HornetQNotConnectedException issue

    Francesco Marchioni Apprentice

      Dear all,

      I've found several hundreds of WARN messages on a WildFly 8.1 cluster (full-ha profile) running periodic jobs which involve an high throughput of JMS messages:

      2014-12-02 00:02:33 com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule WARN  com.arjuna.ats.jta 734 - ARJUNA016008: Local XARecoveryModule.xaRecovery - caught exception
      java.lang.NullPointerException
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoverySecondPass(XARecoveryModule.java:650)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:431)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:212)
              at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789)
              at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371)
      2014-12-02 00:02:33 com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule WARN  com.arjuna.ats.jta 744 - ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR
      javax.transaction.xa.XAException: Error trying to connect to any providers for xa recovery
              at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.getDelegate(HornetQXAResourceWrapper.java:313)
              at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.recover(HornetQXAResourceWrapper.java:74)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoverySecondPass(XARecoveryModule.java:740)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:431)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:212)
              at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789)
              at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371)
      Caused by: HornetQNotConnectedException[errorType=NOT_CONNECTED message=null]
              at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.connect(HornetQXAResourceWrapper.java:426)
              at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.getDelegate(HornetQXAResourceWrapper.java:286)
              ... 6 more
      2014-12-02 00:02:36 org.activiti.engine.impl.jobexecutor.AcquireJobsRunnable DEBUG org.activiti.engine.impl.jobexecutor.AcquireJobsRunnable 104 - job acquisition thread woke up
      
      

      I'm tempted to apply the 8.2 patch, however since the machines are running in production I cannot upgrade the release without a clear evidence of a bug in the application server. My idea is that this is not going to harm the application server, however any suggestion is highly welcome.

      Regards

      Francesco