[jboss-user] JBoss 2.0 - Setting JBoss Transaction Timeout Value for a Session Bean method
Seh Chwan Lim
sclim at redhat.com
Fri Jun 27 05:12:25 EDT 2008
Hi All,
does anyone know how you can possibly set the Transaction Timeout for a
Session Bean method in a JBoss 2.0 deployment?
in JBoss 4, you can do the following in the jboss.xml file, but what is
the equivalent for JBoss 2.0? TIA for any help.
<session>
<ejb-name>ImportController</ejb-name>
<jndi-name>importExport/controller/ImportController</jndi-name>
<local-jndi-name>local/ImportController</local-jndi-name>
<resource-ref>
<res-ref-name>importExport/jdbc/importExportDataSource</res-ref-name>
<resource-name>importExportDB</resource-name>
</resource-ref>
<method-attributes>
<method>
<method-name>processEachImportDirectCall</method-name>
<transaction-timeout>900</transaction-timeout>
</method>
</method-attributes>
</session>
--
Best Regards,
Lim Seh Chwan
Solutions Architect, ASEAN
+65 6512 5563 (direct)
+65 93834571 (cell)
Red Hat Asia Pacific Pte Ltd
112 Robinson Road #09-03 HB Robinson, Singapore 068902
+65 6490 4200 (main) | +65 6490 4201 (fax)
www.apac.redhat.com
More information about the jboss-user
mailing list