tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session SimpleTcpReplicationManager.java
Date Sat, 29 May 2004 02:48:16 GMT
fhanik      2004/05/28 19:48:16

  Modified:    modules/cluster/src/share/org/apache/catalina/cluster/session
                        SimpleTcpReplicationManager.java
  Log:
  removed not needed comments
  
  Revision  Changes    Path
  1.27      +1 -16     jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/SimpleTcpReplicationManager.java
  
  Index: SimpleTcpReplicationManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/SimpleTcpReplicationManager.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- SimpleTcpReplicationManager.java	29 May 2004 02:43:58 -0000	1.26
  +++ SimpleTcpReplicationManager.java	29 May 2004 02:48:16 -0000	1.27
  @@ -200,23 +200,8 @@
           if (jvmRoute != null) {
               sessionId += '.' + jvmRoute;
           }
  -        /*
  -        synchronized (sessions) {
  -        while (sessions.get(sessionId) != null)        // Guarantee uniqueness
  -        sessionId = generateSessionId();
  -        }
  -        */
           if ( setId ) session.setId(sessionId);
  -
  -        if ( notify && (cluster!=null) )
  -        {
  -            //notify javagroups
  -
  -            //SessionMessage msg = new SessionMessage(this.name,
  -            //                                        SessionMessage.EVT_SESSION_CREATED,
  -            //                                        writeSession(session),
  -            //                                        session.getId());
  -            //cluster.send(msg);
  +        if ( notify && (cluster!=null) ) {
               ((ReplicatedSession)session).setIsDirty(true);
           }
           return (session);
  
  
  

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


Mime
View raw message