tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r718436 - /tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
Date Mon, 17 Nov 2008 23:30:33 GMT
Author: markt
Date: Mon Nov 17 15:30:32 2008
New Revision: 718436

URL: http://svn.apache.org/viewvc?rev=718436&view=rev
Log:
Need to make sure configBase exists. WAR deployment has this check. DIR deployment needs it
too.

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java?rev=718436&r1=718435&r2=718436&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java Mon Nov 17 15:30:32 2008
@@ -950,6 +950,7 @@
                         digester.reset();
                     }
                 }
+                configBase.mkdirs();
                 File xmlCopy = new File(configBase, file + ".xml");
                 InputStream is = null;
                 OutputStream os = null;



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


Mime
View raw message