3 Replies Latest reply on Jul 19, 2012 6:09 AM by joselopesdacruz

    jboss 7.1.1 - warnings blocking deployments




      I've installed jboss 7.1.1 final on a Linux Machine. While in windows everything works ok, on Linux at boot time I have always the warnings below, which I think its the cause that blocks my deployments (when I choose enable at web console).




      17:43:09,222 WARN  [com.arjuna.ats.jta] (Periodic Recovery) 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:275) [hornetq-jms-2.2.13.Final.jar:]

              at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.recover(HornetQXAResourceWrapper.java:77) [hornetq-jms-2.2.13.Final.jar:]

              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecovery(XARecoveryModule.java:503) [jbossjts-4.16.2.Final.jar:]

              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecoveryForRecoveryHelpers(XARecoveryModule.java:471) [jbossjts-4.16.2.Final.jar:]

              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:385) [jbossjts-4.16.2.Final.jar:]

              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:166) [jbossjts-4.16.2.Final.jar:]

              at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789) [jbossjts-4.16.2.Final.jar:]

              at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [jbossjts-4.16.2.Final.jar:]

      Caused by: HornetQException[errorCode=2 message=null]

              at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.connect(HornetQXAResourceWrapper.java:351) [hornetq-jms-2.2.13.Final.jar:]

              at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.getDelegate(HornetQXAResourceWrapper.java:251) [hornetq-jms-2.2.13.Final.jar:]

              ... 7 more



      17:43:09,225 WARN  [org.hornetq.jms.server.recovery.HornetQXAResourceWrapper] (Periodic Recovery) Can't connect to any hornetq server on recovery [XARecoveryConfig [hornetQConnectionFactory=HornetQConnectionFactory [serverLocator=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-invm-InVMConnectorFactory?server-id=0], discoveryGroupConfiguration=null], clientID=null, dupsOKBatchSize=1048576, transactionBatchSize=1048576, readOnly=false], username=null, password=null]]



      On the web console the output is:

      Unknown error


      Unexpected HTTP response: 500  Request { "address" => [ ("subsystem" => "messaging"), ("hornetq-server" => "default"), ("jms-queue" => "queue/grabberActionQueue") ], "operation" => "read-resource", "include-runtime" => true }  Response  Internal Server Error { "outcome" => "failed", "rolled-back" => true }



      thanks for your help,

      José Cruz


      I've attached boot and server log and the standalone-full.xml configuration.

        • 1. Re: jboss 7.1.1 - warnings blocking deployments

          The WARN log statements you cited are related to automated XA recovery.  I don't think it would block your deployments, although it could be related (i.e. both issues might have the same root cause).


          Could you attach your full server.log and standalone*.xml?

          • 2. Re: jboss 7.1.1 - warnings blocking deployments

            Thanks Justin,


            I've attached the logs and the configuration file in use.


            José Cruz

            • 3. Re: jboss 7.1.1 - warnings blocking deployments

              Let me add some behaviour that might help:


              - On the web administration console when I switch from Profile to Runtime and the option choosed its "Messaging Provider", on the upper right corner shows "Unknow error" and the details is:


              Unknown error


              Unexpected HTTP response: 500  Request { "address" => [ ("subsystem" => "messaging"), ("hornetq-server" => "default"), ("jms-queue" => "queue/grabberActionQueue") ], "operation" => "read-resource", "include-runtime" => true }  Response  Internal Server Error { "outcome" => "failed", "rolled-back" => true }


              hope it helps,


              José Cruz