remm 2004/01/05 00:50:00 Modified: catalina/src/share/org/apache/catalina/session PersistentManagerBase.java Log: - Bug 25886: Remove the check on the maximum amount of active sessions during session creation. The whole point of the persistent manager is that excess sessions will be swaped out. Revision Changes Path 1.15 +4 -27 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java Index: PersistentManagerBase.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- PersistentManagerBase.java 10 Dec 2003 23:00:36 -0000 1.14 +++ PersistentManagerBase.java 5 Jan 2004 08:50:00 -0000 1.15 @@ -657,29 +657,6 @@ /** - * Return a new session object as long as the number of active - * sessions does not exceed <b>maxActiveSessions</b>. If there - * aren't too many active sessions, or if there is no limit, - * a session is created or retrieved from the recycled pool. - * - * @exception IllegalStateException if a new session cannot be - * instantiated for any reason - */ - public Session createSession() { - - if ((maxActiveSessions >= 0) && - (sessions.size() >= maxActiveSessions)) { - rejectedSessions++; - throw new IllegalStateException - (sm.getString("standardManager.createSession.ise")); - } - - return (super.createSession()); - - } - - - /** * Return the active Session, associated with this Manager, with the * specified session id (if any); otherwise return <code>null</code>. * This method checks the persistence store if persistence is enabled,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]