You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pi...@locus.apache.org on 2000/11/01 00:49:04 UTC

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup ContextConfig.java

pierred     00/10/31 15:49:04

  Modified:    catalina/src/share/org/apache/catalina/startup
                        ContextConfig.java
  Log:
  Do not close the JarFile, otherwise no one else can
  reopen it (and Jasper needs to re-process these jar
  files for the TLDs).
  
  This is really weird. Should not be the case.
  To be investigated.
  
  Revision  Changes    Path
  1.32      +5 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ContextConfig.java
  
  Index: ContextConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- ContextConfig.java	2000/10/31 17:45:34	1.31
  +++ ContextConfig.java	2000/10/31 23:49:02	1.32
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v 1.31 2000/10/31 17:45:34 craigmcc Exp $
  - * $Revision: 1.31 $
  - * $Date: 2000/10/31 17:45:34 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/ContextConfig.java,v 1.32 2000/10/31 23:49:02 pierred Exp $
  + * $Revision: 1.32 $
  + * $Date: 2000/10/31 23:49:02 $
    *
    * ====================================================================
    *
  @@ -117,7 +117,7 @@
    * of that Context, and the associated defined servlets.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.31 $ $Date: 2000/10/31 17:45:34 $
  + * @version $Revision: 1.32 $ $Date: 2000/10/31 23:49:02 $
    */
   
   public final class ContextConfig
  @@ -1022,7 +1022,7 @@
                   stream.close();
                   found = true;
               }
  -            jarFile.close();
  +            // FIXME jarFile.close();
               return (found);
           } catch (Exception e) {
               if (debug >= 2)