// __
 I need to make tomcat read both the conf/server.xml and conf/web.xml from a
different location.

 I was able to remove conf/server.xml by compiling a new version of
Catalina.java

as defined in

 \jakarta-tomcat-5.0.24-src\jakarta-tomcat-catalina\catalina\src\share\org\a
pache\catalina\startup\

after changing the statement

     protected String configFile = "conf/server.xml";


 When I tried something similar with conf/web.xml

 As defined in Constants.java (and set in context through
ContextConfig.java) from:

 jakarta-tomcat-5.0.24-src\jakarta-tomcat-catalina\catalina\src\share\org\ap
ache\catalina\startup\

/* CML
    public static final String DefaultWebXml = "conf/web.xml";
*/

 After succesfully recompiling, when I restart Tomcat, I got "No default
web.xml" errors, which is reported by ContextConfig.java, as well as all
kinds of SEVERE: this and that kinds of errors.

 My Question:

 Shouldn't it be sufficient to just change the two classes where these
settings are defined?

 Does TC somehow make implicit assumptions based on the standard locations
of files?

 Is recompiling all classes from source after making the changes the only
way to do it?
 (Must tell/explain clients about any changes to the lay of the ground ad
this is no fun)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to