[jboss-cvs] JBossAS SVN: r64677 - trunk/tomcat/src/main/org/jboss/web/tomcat/service/session.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Aug 18 10:58:08 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-08-18 10:58:08 -0400 (Sat, 18 Aug 2007)
New Revision: 64677
Modified:
trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/ClusteredSession.java
Log:
Set the last accessed time in endAccess so it is correct between invocations
Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/ClusteredSession.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/ClusteredSession.java 2007-08-18 14:56:20 UTC (rev 64676)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/ClusteredSession.java 2007-08-18 14:58:08 UTC (rev 64677)
@@ -482,6 +482,8 @@
{
super.endAccess();
+ this.lastAccessedTime = this.thisAccessedTime;
+
if (firstAccess)
{
firstAccess = false;
@@ -767,10 +769,10 @@
*/
public void expire(boolean notify, boolean localCall, boolean localOnly)
{
- if (log.isDebugEnabled())
+ if (log.isTraceEnabled())
{
- log.debug("The session has expired with id: " + id +
- " -- is it local? " + localOnly);
+ log.trace("The session has expired with id: " + id +
+ " -- is expiration local? " + localOnly);
}
// If another thread is already doing this, stop
More information about the jboss-cvs-commits
mailing list