tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r393447 - in /tomcat/container/tc5.5.x: modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java webapps/docs/changelog.xml
Date Wed, 12 Apr 2006 12:39:06 GMT
Author: pero
Date: Wed Apr 12 05:39:05 2006
New Revision: 393447

URL: http://svn.apache.org/viewcvs?rev=393447&view=rev
Log:
Fix that DeltaManager not set session creation time at backup nodes.

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java
    tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java?rev=393447&r1=393446&r2=393447&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java
(original)
+++ tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java
Wed Apr 12 05:39:05 2006
@@ -626,6 +626,7 @@
             SessionMessage msg = new SessionMessageImpl(getName(),
                     SessionMessage.EVT_SESSION_CREATED, null, sessionId,
                     sessionId + "-" + System.currentTimeMillis());
+            msg.setTimestamp(session.getCreationTime());
             if (log.isDebugEnabled())
                 log.debug(sm.getString("deltaManager.sendMessage.newSession",
                         name, sessionId));
@@ -1621,6 +1622,7 @@
         session.setManager(this);
         session.setValid(true);
         session.setPrimarySession(false);
+        session.setCreationTime(msg.getTimestamp());
         session.access();
         if(notifySessionListenersOnReplication)
             session.setId(msg.getSessionID());

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=393447&r1=393446&r2=393447&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Wed Apr 12 05:39:05 2006
@@ -105,6 +105,9 @@
   </subsection>
   <subsection name="Cluster">
     <changelog>
+       <fix>
+         DeltaManager set session creationTime at backup node. (pero)
+       </fix>
        <update>
         Add JvmRouteBinderValve documentation at cluster-howto.xml. (pero)
        </update>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message