kief        01/04/15 02:27:56

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  Removed code to save sessions on restart or shutdown: this should
  be done in the Manager stop method.
  
  Revision  Changes    Path
  1.52      +4 -20     
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- StandardContext.java      2001/04/09 06:52:10     1.51
  +++ StandardContext.java      2001/04/15 09:27:56     1.52
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
 1.51 2001/04/09 06:52:10 remm Exp $
  - * $Revision: 1.51 $
  - * $Date: 2001/04/09 06:52:10 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
 1.52 2001/04/15 09:27:56 kief Exp $
  + * $Revision: 1.52 $
  + * $Date: 2001/04/15 09:27:56 $
    *
    * ====================================================================
    *
  @@ -141,7 +141,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.51 $ $Date: 2001/04/09 06:52:10 $
  + * @version $Revision: 1.52 $ $Date: 2001/04/15 09:27:56 $
    */
   
   public class StandardContext
  @@ -2281,13 +2281,6 @@
               ContextBindings.unbindThread(this, this);
           }
   
  -        // Unload sessions to persistent storage, if supported
  -        try {
  -            getManager().unload();
  -        } catch (Throwable t) {
  -            log(sm.getString("standardContext.managerUnload"), t);
  -        }
  -
           // Shut down filters and application event listeners
           filterStop();
           listenerStop();
  @@ -3313,15 +3306,6 @@
   
           // Mark this application as unavailable while we shut down
           setAvailable(false);
  -
  -        // Unload sessions to persistent storage, if supported
  -        try {
  -            if (debug >= 1)
  -                log("Saving persisted sessions");
  -            getManager().unload();
  -        } catch (Throwable t) {
  -            log(sm.getString("standardContext.managerUnload"), t);
  -        }
   
           // Stop our filters and application listeners
           filterStop();
  
  
  

Reply via email to