tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
Date Mon, 25 Oct 2004 19:09:07 GMT
yoavs       2004/10/25 12:09:07

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
               webapps/docs changelog.xml
  Log:
  Bugzilla 31677: add warning if workdir cannot be determind.
  
  Revision  Changes    Path
  1.154     +4 -3      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.153
  retrieving revision 1.154
  diff -u -r1.153 -r1.154
  --- StandardContext.java	5 Oct 2004 17:12:50 -0000	1.153
  +++ StandardContext.java	25 Oct 2004 19:09:06 -0000	1.154
  @@ -1702,6 +1702,7 @@
                   workDir = new File(catalinaHomePath,
                           getWorkDir());
               } catch (IOException e) {
  +                log.warn("Exception obtaining work path for " + getPath());
               }
           }
           return workDir.getAbsolutePath();
  @@ -1726,9 +1727,9 @@
   
           this.workDir = workDir;
   
  -        if (started)
  +        if (started) {
               postWorkDirectory();
  -
  +        }
       }
   
   
  
  
  
  1.152     +3 -0      jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.151
  retrieving revision 1.152
  diff -u -r1.151 -r1.152
  --- changelog.xml	25 Oct 2004 19:00:22 -0000	1.151
  +++ changelog.xml	25 Oct 2004 19:09:07 -0000	1.152
  @@ -85,6 +85,9 @@
         <update>
           Register an MBean to monitor and manage the StringCache, and allow invoking the
reset operation. (remm)
         </update>
  +      <fix>
  +        <bug>31677</bug>: Log warning if work dir for context can't be determined.
(yoavs)
  +      </fix>
       </changelog>
     </subsection>
   
  
  
  

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