geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@geronimo.apache.org
Subject [jira] Commented: (GERONIMO-378) transaction timeouts not implements
Date Thu, 21 Oct 2004 21:41:26 GMT
The following comment has been added to this issue:

     Author: David Jencks
    Created: Thu, 21 Oct 2004 2:40 PM
       Body:
Further research indicates that JTA 1.0.1 specifies timeout as thread-local on tm and ut,
but 1.0.1B and j2ee 1.4 do not.

My current plan is:

-leave TM tx timeout setting as global default, as at present.
- introduce proprietary method on tm, begin(int timeoutSeconds)
- (eventually) modify CMT to allow specifying timeout per method, and use begin(timeout) method.
- either add a threadlocal to UT or make each jndi lookup result in a different instance.
 UT will use begin(timeout) method to start transactions.  Either way, we need to consider
if each thread/instance should have its timeout method reset on exit from geronimo. (this
is not too important until we use thread pools more).

In addition, XAResource.setTransactionTimeout is never being called. The same threading problems
apply, but probably something should be done.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/GERONIMO-378?page=comments#action_54453

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-378

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-378
    Summary: transaction timeouts not implements
       Type: Bug

     Status: Open
   Priority: Major

    Project: Apache Geronimo
 Components: 
             transaction manager
   Versions:
             1.0-M2

   Assignee: David Jencks
   Reporter: David Jencks

    Created: Fri, 15 Oct 2004 11:48 PM
    Updated: Thu, 21 Oct 2004 2:40 PM

Description:
setTransactionTimeout is completely ignored at present.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message