This content has been marked as final.
Show 3 replies
-
1. Re: Transaction timeout in CMT
gjeudy Sep 2, 2008 7:43 PM (in response to minatee)Hi,
This is not related to Seam. Checkout your container documentation. For JBoss see this link: http://wiki.jboss.org/wiki/TransactionTimeout
-
2. Re: Transaction timeout in CMT
minatee Sep 2, 2008 7:56 PM (in response to minatee)Hi,
Thanks for your reply.
I have given transaction-timeout for that particular method in jboss.xml
<?xml version="1.0"?>
<jboss>
<enterprise-beans>
<session>
<ejb-name>TxTimeout</ejb-name>
<method-attributes>
<method>
<method-name>testOverriddenTimeoutExpires</method-name>
<transaction-timeout>1800</transaction-timeout>
</method>
</method-attributes>
</session>
</enterprise-beans>
</jboss>
But it is not working. It is taking the same default transaction timeout 5mins. -
3. Re: Transaction timeout in CMT
gjeudy Sep 2, 2008 8:09 PM (in response to minatee)Have you tried
@TransactionTimeout
annotation at method level?