1 Reply Latest reply on Sep 29, 2010 10:08 AM by junkie

    Transaction is not active problem

    sadiquekatihar
      can any one help me my application is working fine on  my local machine but when i deployed this on server and try to persist my data into table it throws an exception.

      Transaction is not active: tx=TransactionImple < ac

      please suggest me solution

      thanking you
        • 1. Re: Transaction is not active problem
          junkie
          Have you restarted JBoss on the server? I encountered similar issues some years ago with transactions that ran longer than the default 5 minutes (which happened to many transactions that were started while a big MyISAM table needed to be repaired). After changing TransactionTimeout to 1 hour I did not see the error again.


          --- ejb-deployer.xml : TransactionTimeout increased from 300 to 3600 ---

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