Caldarale, Charles R wrote:
From: Rob Tanner [mailto:[EMAIL PROTECTED] Subject: Re: Problem deploying existing webapp in new Tomcat containerthe path variable? (Here we go again... my favorite subject :-)As far as server.xml, how else does one specify the specifics, such as
damn. you beat me.
First, read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/context.htmlNote the following extracts from the Introduction and the description ofthe path attribute:"For Tomcat 6, unlike Tomcat 4.x, it is NOT recommended to place<Context> elements directly in the server.xml file. This is because it makes modifing the Context configuration more invasive since the main conf/server.xml file cannot be reloaded without restarting Tomcat.""The value of this field must not be set except when statically defininga Context in server.xml, as it will be inferred from the filenames used for either the .xml context file or the docBase."Nor should you be specifying a docBase. Put the <Context> elements wherethey belong - in META-INF/context.xml of each webapp - and remove the path and docBase attributes.Also, reading this part of the doc:http://tomcat.apache.org/tomcat-6.0-doc/logging.htmlwould show you that the <Logger> element is no longer used. - ChuckTHIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
smime.p7s
Description: S/MIME Cryptographic Signature