> From: Kwok Ng [mailto:[EMAIL PROTECTED] > Subject: Context path
Telling us the version of Tomcat you're using would be useful. > I am trying to deploy webapps with context xml file. I have a context > xml in the <tomcat>/conf/locahost/www.xml. The content is: I hope that's <tomcat>/conf/Catalina/locahost/www.xml, or you're wasting your time. > <Context path="abc" docBase="C:/webapps/www"/> To quote from the Tomcat documentation: "path "The value of this field must not be set except when statically defining a Context in server.xml, as it will be inferred from the filenames used for either the .xml context file or the docBase." It's always a good idea to read the doc first: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html Also, the docBase attribute is inappropriate unless the webapp is located somewhere other than the <Host>'s appBase directory. Specifying it here will either be ignored or confuse matters my deploying your webapp twice. - Chuck THIS 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. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]