[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4092) @TransactionTimeout doesn't work on Seam Managed Transactions

Stephane Epardaud (JIRA) jira-events at lists.jboss.org
Tue Jun 2 05:37:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12470190#action_12470190 ] 

Stephane Epardaud commented on JBSEAM-4092:
-------------------------------------------

The problem is really that even when the EJB method is properly annotated with the transaction timeout, Seam starts a new transaction in the SeamPhaseListener which will be open until the EJB method properly completes, which can exceed the default timeout (5 minutes). So even when the EJB method works and commits, Seam's SeamPhaseListener will commit its own JPATransaction which will throw because of the timeout.

We must have a way of specifying the timeout for the transactions started by SeamPhaseListener, otherwise we have no other choice but to override the "org.jboss.seam.transaction.Transaction" component to set the timeout ourselves.

Ideally we'd want to be able to specify the timeout per method (using the EJB annotation), but failing the ability to do so, per page or conversation. There's got to be a way to make Seam actions take longer than the default global jboss transaction timeout setting.

> @TransactionTimeout doesn't work on Seam Managed Transactions
> -------------------------------------------------------------
>
>                 Key: JBSEAM-4092
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4092
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.1.1.GA
>            Reporter: Marek Nazarko
>
> Seam ignores @TransactionTimeout annotation on method executed from JSF page (as "action"). It's Seam who manage this transaction in this case. There should be possibilty to set timeout on such method

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list