This content has been marked as final.
Show 1 reply
-
1. Re: Transaction is not active problem
junkie Sep 29, 2010 10:08 AM (in response to sadiquekatihar)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>