4 Replies Latest reply on Feb 7, 2011 2:22 PM by emmitt518

    XA Transaction Dependency

    emmitt518

      Does JBoss require its messaging server to support the XA module? I keep getting a "

      2011-01-27 16:29:27,724 WARN  [com.arjuna.ats.jta.logging.loggerI18N] (Thread-9) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaR

      ecovery  got XA exception javax.transaction.xa.XAException: Error trying to connect to provider java:/DefaultJMSProvider, XAException.XAER_RMERR" message. Now I have googled around and found a ticket related to a false alert with this message. However, this message keeps popping up in my log file periodically. Is this an issue? Does XA require a JMS provider to run?

        • 1. XA Transaction Dependency
          jhalliday

          Let me guess - you uninstalled JMS but forgot to uninstall the recovery module reference in conf/jbossts-properties.xml

          • 2. XA Transaction Dependency
            emmitt518

            Hi Jonathan,

             

            That is probably it. I did not do that. So without JMS, JBoss cannot support transaction recovery?

            • 3. XA Transaction Dependency
              welle

              JMS has nothing to do with JBoss supporting transaction recovery.

               

              What Jonathan meant was probably that you still had the following setting in your "conf/jbossts-properties.xml" that tells the recovery module how to contact the local JMS server (that you removed)

               

              <property name="com.arjuna.ats.jta.recovery.XAResourceRecovery.JBMESSAGING1"

                         value="org.jboss.jms.server.recovery.MessagingXAResourceRecovery;java:/DefaultJMSProvider"/>

              • 4. XA Transaction Dependency
                emmitt518

                Hi Anders,

                 

                Right. Understood. I guess my question was that what does this property do exactly? If I comment it out, do I need to put something else in to make the XA work?