fhanik      2004/10/19 14:59:05

  Modified:    modules/cluster/src/share/org/apache/catalina/cluster/session
                        Tag: TOMCAT_5_0 DeltaManager.java
  Log:
  Fixed
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.27.2.1  +3 -3      
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java
  
  Index: DeltaManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java,v
  retrieving revision 1.27
  retrieving revision 1.27.2.1
  diff -u -r1.27 -r1.27.2.1
  --- DeltaManager.java 4 Jun 2004 20:22:27 -0000       1.27
  +++ DeltaManager.java 19 Oct 2004 21:59:05 -0000      1.27.2.1
  @@ -696,7 +696,7 @@
           started = false;
   
           // Expire all active sessions
  -        if ( this.getExpireSessionsOnShutdown() ) {
  +        {
               log.info("Expiring sessions upon shutdown");
               Session sessions[] = findSessions();
               for (int i = 0; i < sessions.length; i++) {
  @@ -704,7 +704,7 @@
                   if (!session.isValid())
                       continue;
                   try {
  -                    session.expire();
  +                    session.expire(true,this.getExpireSessionsOnShutdown());
                   }
                   catch (Throwable t) {
                       ;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to