| How to set EJB timeout period ? |
| Written by Mark S. | |||||
|
Use Container managed transactions. Open jboss-service.xml ( in the conf directory)
<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>
Modify the TransactionTimeout attribute as you need. Note: The timeout attribute is in seconds not in milliseconds !
JBoss.org Search
Custom Search
Only registered users can write comments!
Powered by !JoomlaComment 3.26
3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved." |


