tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r612455 - /tomcat/trunk/java/org/apache/catalina/session/StandardManager.java
Date Wed, 16 Jan 2008 13:47:42 GMT
Author: pero
Date: Wed Jan 16 05:47:40 2008
New Revision: 612455

URL: http://svn.apache.org/viewvc?rev=612455&view=rev
Log:
Set correct sessionCounter after reload sessions!
Fix two indent lines.

Modified:
    tomcat/trunk/java/org/apache/catalina/session/StandardManager.java

Modified: tomcat/trunk/java/org/apache/catalina/session/StandardManager.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/StandardManager.java?rev=612455&r1=612454&r2=612455&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/session/StandardManager.java (original)
+++ tomcat/trunk/java/org/apache/catalina/session/StandardManager.java Wed Jan 16 05:47:40
2008
@@ -395,9 +395,10 @@
                     session.setManager(this);
                     sessions.put(session.getIdInternal(), session);
                     session.activate();
+                    sessionCounter++;
                 }
             } catch (ClassNotFoundException e) {
-              log.error(sm.getString("standardManager.loading.cnfe", e), e);
+                log.error(sm.getString("standardManager.loading.cnfe", e), e);
                 if (ois != null) {
                     try {
                         ois.close();
@@ -408,7 +409,7 @@
                 }
                 throw e;
             } catch (IOException e) {
-              log.error(sm.getString("standardManager.loading.ioe", e), e);
+                log.error(sm.getString("standardManager.loading.ioe", e), e);
                 if (ois != null) {
                     try {
                         ois.close();



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


Mime
View raw message