Howdy, These files are different from each other. Server.xml is read on startup and requires a server restart to reload.
Web.xml for a given webapp is read when the webapp is loaded (normally on server startup), and you can have it reloaded by reloading the webapp (via the manager webapp), without restarting the whole server. Web.xml for the server ($CATALINA_HOME/conf/web.xml) is loaded once on server startup. If you need elements from it reloaded, move them into your webapp's web.xml file. Tomcat-users.xml is only used if you're using the default user memory database. If so, it's loaded on startup. It's conceivable to add dynamic reloading to it: feel free to contribute a code patch ;) Yoav Shapira Millennium ChemInformatics -----Original Message----- From: Agarwal, Naresh [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 8:18 AM To: [EMAIL PROTECTED] Subject: Does Tomcat load config. files dynamically? Hi � Does Tomcat loads the configuration files (web.xml, server.xml, tomcat-users.xml) dynamically.? � Thus if I make any changes in these files while Tomcat is running, Do I need to restart Tomcat to reflect the changes or Tomcat automatically detect the changes�and use the new settings? � If Tomcat does not use dynamic loading, is there a way to support this? � thanks & regards Naresh Agarwal��� This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
