This content has been marked as final.
Show 2 replies
-
1. Re: Stateful Transaction Timeout
perfectdaytochasetornados May 6, 2004 2:31 PM (in response to jagertee)Yes, I would also like to know how to change the timeouts. I even bought the documentation, but can't find it in there either???
:-)
P -
2. Re: Stateful Transaction Timeout
guydaniel May 11, 2004 10:41 PM (in response to jagertee)
I found this in the 3.2.4 list of tasks to be done....
CMT transaction timeout overrides is done.
It is configured using method attributes in jboss.xml (values are in seconds), e.g.
Code:
<enterprise-beans>
<ejb-name>TxTimeout</ejb-name>
<jndi-name>jbosstest/tm/TxTimeout</jndi-name>
<method-attributes>
<method-name>testOverriddenTimeoutExpires</method-name>
<transaction-timeout>5</transaction-timeout>
<method-name>testOverriddenTimeoutDoesNotExpire</method-name>
<transaction-timeout>20</transaction-timeout>
</method-attributes>
</enterprise-beans>