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);


Reply via email to