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

Cody Lerum (JIRA) jira-events at lists.jboss.org
Tue Sep 29 16:00:49 EDT 2009


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

Cody Lerum commented on JBSEAM-4092:
------------------------------------

I think I may be hitting this same issue. 

>From my page I'm calling a method from an EJB Local Interface

public void sendTaxFile()

That method then calls another method from a different EJB interface

@Asynchronous
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
@TransactionTimeout(3600)
public void retreiveFromTaxing(InvoiceJob invoiceJob)


The first method runs and completes ok because it's changes are commited to the database. and the second method "public void retreiveFromTaxing()" starts async and runs for 5 minutes before it the transaction timeout.

19:52:41,275 INFO  [TaxRunnerBean] Logging into FTP. Transaction Active: true
19:52:41,295 INFO  [TaxRunnerBean] Got 0 files
19:53:11,295 INFO  [TaxRunnerBean] Logging into FTP. Transaction Active: true
19:53:11,326 INFO  [TaxRunnerBean] Got 0 files
19:53:41,009 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a0a3264:fbd1:4ac26452:6a invoked while multiple threads active within it.
19:53:41,012 WARN  [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action a0a3264:fbd1:4ac26452:6a aborting with 1 threads active!
19:53:41,327 INFO  [TaxRunnerBean] Logging into FTP. Transaction Active: false
19:53:41,376 INFO  [TaxRunnerBean] Got 0 files

Are you saying the issue is that the seam global transaction is timing out and thus taking my other transaction down with it?

> @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