tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session StandardManager.java
Date Fri, 05 Dec 2003 09:28:55 GMT
remm        2003/12/05 01:28:55

  Modified:    catalina/src/share/org/apache/catalina/session
                        StandardManager.java
  Log:
  - isValid already expires sessions, so backgroundProcess shouldn't call
    expire again.
  - Bug 25234, submitted by Paul Harvey.
  
  Revision  Changes    Path
  1.16      +5 -11     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardManager.java
  
  Index: StandardManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardManager.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- StandardManager.java	29 Nov 2003 18:06:35 -0000	1.15
  +++ StandardManager.java	5 Dec 2003 09:28:55 -0000	1.16
  @@ -813,13 +813,7 @@
           for (int i = 0; i < sessions.length; i++) {
               StandardSession session = (StandardSession) sessions[i];
               if (!session.isValid()) {
  -                try {
  -                    expiredSessions++;
  -                    session.expire();
  -                } catch (Throwable t) {
  -                    log.error(sm.getString
  -                              ("standardManager.expireException"), t);
  -                }
  +                expiredSessions++;
               }
           }
           long timeEnd = System.currentTimeMillis();
  
  
  

---------------------------------------------------------------------
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