[Jboss-cvs] JBossAS SVN: r56401 - branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Aug 29 11:32:58 EDT 2006
Author: bstansberry at jboss.com
Date: 2006-08-29 11:32:57 -0400 (Tue, 29 Aug 2006)
New Revision: 56401
Modified:
branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session/BatchReplicationClusteredSessionValve.java
Log:
Don't start local activity; let ClusteredSessionValve do it
Modified: branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session/BatchReplicationClusteredSessionValve.java
===================================================================
--- branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session/BatchReplicationClusteredSessionValve.java 2006-08-29 15:31:20 UTC (rev 56400)
+++ branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session/BatchReplicationClusteredSessionValve.java 2006-08-29 15:32:57 UTC (rev 56401)
@@ -96,8 +96,6 @@
// Start a new transaction, we need transaction so all the replication are sent in batch.
try
{
- SessionReplicationContext.startLocalActivity();
-
tm.begin();
// let the servlet invocation go through
getNext().invoke(request, response);
@@ -120,10 +118,6 @@
// We will need to alert Tomcat of this exception.
throw new RuntimeException("JBossCacheManager.processSessionRepl(): failed to replicate session.", e);
}
- finally
- {
- SessionReplicationContext.finishLocalActivity();
- }
}
// Lifecylce-interface
More information about the jboss-cvs-commits
mailing list