geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r159565 - geronimo/trunk/modules/timer/src/java/org/apache/geronimo/timer/TransactionalExecutorTask.java
Date Thu, 31 Mar 2005 07:24:10 GMT
Author: djencks
Date: Wed Mar 30 23:24:10 2005
New Revision: 159565

URL: http://svn.apache.org/viewcvs?view=rev&rev=159565
Log:
clean the tx context off the thread when done

Modified:
    geronimo/trunk/modules/timer/src/java/org/apache/geronimo/timer/TransactionalExecutorTask.java

Modified: geronimo/trunk/modules/timer/src/java/org/apache/geronimo/timer/TransactionalExecutorTask.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/timer/src/java/org/apache/geronimo/timer/TransactionalExecutorTask.java?view=diff&r1=159564&r2=159565
==============================================================================
--- geronimo/trunk/modules/timer/src/java/org/apache/geronimo/timer/TransactionalExecutorTask.java
(original)
+++ geronimo/trunk/modules/timer/src/java/org/apache/geronimo/timer/TransactionalExecutorTask.java
Wed Mar 30 23:24:10 2005
@@ -65,6 +65,7 @@
                 }
             } finally {
                 try {
+                    transactionContextManager.setContext(null);
                     if (transactionContext.commit()) {
                         if (workInfo.isOneTime()) {
                             threadPooledTimer.removeWorkInfo(workInfo);



Mime
View raw message