DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9960>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9960 Deploy issue with local Context ------- Additional Comments From [EMAIL PROTECTED] 2002-06-18 15:43 ------- Perhaps the context (pun not intended) was lost in the bug report; I've previously posted information about the environment on tomcat-user and thought this was a sufficiently-detailed bug report. So here's what I'm trying to do. As I understand it, Servlet 2.3 allows parameters set inside web.xml to be overridden "locally" on a remote server by the addition of a context fragment in the webapps directory. In fact, this is exactly how the "manager" and "admin" server webapps are configured. This behaviour is referred to in "Automatic Application Deployment" in the Tomcat documentation: <blockquote> If you are using the standard Host implementation, the following actions take place automatically when Catalina is first started, if the autoDeploy property is set to true (which is the default value: - Any XML file in this directory [appBase] is assumed to contain a Context element (and its associated subelements) for a single web application. The docBase attribute of this <Context> element will typically be the absolute pathname to a web application directory, or the absolute pathname of a web application archive (WAR) file (which will not be expanded). [...] In addition to the automatic deployment that occurs at startup time, you can also request that new XML configuration files, WAR files, or subdirectories (containing web applications) that are dropped in to the appBase directory while Tomcat is running will be automatically deployed, according to the rules described above. </blockquote> I'm aware that WEB-INF/web.xml must be placed inside the deployed .war file--a webapp won't even work without it. This is about overriding or adding parameters for a specific instance of a webapp. If there's a parameter for the <deploy/> task that allows one to upload a separate configuration file for an instance without changing the contents of the .war file itself, I'm not familiar with it. Please point out the documentation that I've obviously missed. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>