geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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
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:

View the issue:

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

     Status: Open
   Priority: Major

    Project: Apache Geronimo
             transaction manager

   Assignee: David Jencks
   Reporter: David Jencks

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

setTransactionTimeout is completely ignored at present.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message