[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Seam 2.0: EntityManager must be access within a transact

jaikiran do-not-reply at jboss.com
Sat Apr 26 08:55:49 EDT 2008


That's not the file where the transaction timeout is configured. There's a jboss-service.xml file in %JBOSS_HOME%\server\default\conf folder which contains this:

  | <!-- 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>

300 is the default value. Change it to an appropriate value.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146996#4146996

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146996



More information about the jboss-user mailing list