DO NOT REPLY [Bug 9960] - Deploy issue with local Context
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 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-12-23 16:53 --- I have added some clarification to the docs that should help. This will be included in the next release. I have also included it here. When using automatic deployment, the docBase defined by an XML Context file should be outside of the appBase directory. If this is not the case difficulties may be experienced deploying the web application or the application may be deployed twice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 9960] - Deploy issue with local Context
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:24 --- I don't understand your configuration or what you are trying to do. I have the impression you don't know how to use the deploy command (the XML file should be put inside the WAR you deploy; it shouldn't be deployed to Tomcat separately). -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 9960] - Deploy issue with local Context
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]
DO NOT REPLY [Bug 9960] - Deploy issue with local Context
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 21:39 --- Ian Darwin correctly pointed out in e-mail that I have confused the servlet spec with Tomcat's configuration extensions. (I should have figured this out from the case discrepancies--the Servlet 2.3 descriptor DTD is entirely lowercase, while Tomcat's XML tags are in mixed case.) However, even though it's not in the servlet specification, my observation doesn't seem to match what's been documented in Tomcat (quoted previously). If this (expected/desired) behaviour is incorrect, perhaps it could be clarified in the documentation. Thanks, Ian and Remy (and Jacob on tomcat-user), for your comments. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]