costin 01/01/31 21:18:00
Modified: src/share/org/apache/tomcat/modules/config AutoSetup.java
Log:
Contexts will be added at contextInit stage, not engineStart -
when engine is starting all config must be set in.
Revision Changes Path
1.5 +1 -1
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/AutoSetup.java
Index: AutoSetup.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/AutoSetup.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AutoSetup.java 2001/01/23 13:17:07 1.4
+++ AutoSetup.java 2001/02/01 05:17:59 1.5
@@ -84,7 +84,7 @@
* We need a mechanism ( or convention ) to configure
* virtual hosts too
*/
- public void engineStart(ContextManager cm) throws TomcatException {
+ public void engineInit(ContextManager cm) throws TomcatException {
String home=cm.getHome();
File webappD=new File(home + "/webapps");
if (! webappD.exists() || ! webappD.isDirectory()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]