You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2005/03/31 09:24:10 UTC
svn commit: r159565 -
geronimo/trunk/modules/timer/src/java/org/apache/geronimo/timer/TransactionalExecutorTask.java
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);