1 Reply Latest reply on Sep 18, 2008 4:18 AM by francesco sciascia

    Transaction Problem: The transaction is not active!

    Heiko Wiesner Newbie

      hello,

      i am using jboss 4.2.2
      and have a MDB which works fine, until onMessage is left.

      08 Sep 2008 21:07:40,187 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a31500a:6df:48c5757a:1a5 invoked while multiple threads active within it.
      08 Sep 2008 21:07:40,187 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action a31500a:6df:48c5757a:1a5 aborting with 1 threads active!
      Then the message is resent again and again even though
      @ActivationConfigProperty(propertyName = "dLQMaxResent", propertyValue="1"),

      I think, the transaction service gets the wrong transaction or the transaction is already closed.
      I am using a third party software in onMessage and maybe they close the transaction.

      thanks in advance

      heiko

        • 1. Re: Transaction Problem: The transaction is not active!
          francesco sciascia Newbie

          hello,
          I had the same problem, for a "long" ejb method the transaction timed out after 5 minute.
          I fixed it changing the transaction timeout in the jboss-service.xml file

          <!-- JBoss Transactions JTA -->
           <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
           name="jboss:service=TransactionManager">
           <attribute name="TransactionTimeout">300</attribute>
           <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute>
           </mbean>
          


          I hope this helps

          francesco