You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@apache.org on 2002/02/24 04:37:49 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config ServerXmlReader.java
larryi 02/02/23 19:37:49
Modified: src/share/org/apache/tomcat/modules/config
ServerXmlReader.java
Log:
Add warning message if server config file isn't found. Update modules.xml
message to similar format.
Revision Changes Path
1.20 +3 -2 jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ServerXmlReader.java
Index: ServerXmlReader.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ServerXmlReader.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ServerXmlReader.java 31 Dec 2001 20:54:40 -0000 1.19
+++ ServerXmlReader.java 24 Feb 2002 03:37:49 -0000 1.20
@@ -159,8 +159,9 @@
loadConfigFile(xh,f,cm);
cm.log(sm.getString("tomcat.loading") + " " + f);
}
-
}
+ else
+ log("Warning: Server configuration file " + f + " was not found!");
}
// -------------------- Xml reading details --------------------
@@ -324,7 +325,7 @@
}
}
else
- log("Warning: No modules.xml file found!");
+ log("Warning: Modules configuration file " + f + " was not found!");
}
void loadCachedModules( File f, Properties mods ) {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>