[Jboss-cvs] JBossAS SVN: r56536 - trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/session

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Sep 3 22:04:23 EDT 2006


Author: bstansberry at jboss.com
Date: 2006-09-03 22:04:22 -0400 (Sun, 03 Sep 2006)
New Revision: 56536

Modified:
   trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/session/BatchReplicationClusteredSessionValve.java
Log:
Reduce log level; get rid of unused fields

Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/session/BatchReplicationClusteredSessionValve.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/session/BatchReplicationClusteredSessionValve.java	2006-09-04 02:03:54 UTC (rev 56535)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/tc6/session/BatchReplicationClusteredSessionValve.java	2006-09-04 02:04:22 UTC (rev 56536)
@@ -50,11 +50,6 @@
    // Valve-lifecycle_ helper object
    protected LifecycleSupport support = new LifecycleSupport(this);
 
-   // store the request and response object for parts of the clustering code that
-   // have no direct access to this objects
-   protected static ThreadLocal requestThreadLocal = new ThreadLocal();
-   protected static ThreadLocal responseThreadLocal = new ThreadLocal();
-
    protected JBossCacheManager manager_;
 
    /**
@@ -102,12 +97,12 @@
       try
       {
          tm.begin();
+         
          // let the servlet invocation go through
          getNext().invoke(request, response);
-         if(log_.isDebugEnabled())
-         {
-            log_.debug("Ready to commit batch replication for field level granularity");
-         }
+         
+         log_.trace("Ready to commit batch replication for field level granularity");
+         
          tm.commit();
       }
       catch (Exception e)




More information about the jboss-cvs-commits mailing list