> From: Pid [mailto:[EMAIL PROTECTED] > Subject: Re: ROOT.xml fails to install context (tomcat 6.0.13) > > >> == ROOT.xml == <Context > >> docBase="/project" > > Ignore the docBase attribute, it doesn't work when the context is > configured like this.
Not true. Use of docBase is quite appropriate when the webapp is placed outside of the <Host> appBase directory, as appears to be the case here. > >> path="/app1" > > Ignore the path attribute, it doesn't work when the context is > configured like this. That comment is correct. The name of the .xml file defines the URI path. > Set the appBase in the Host definition in server.xml to the location > where you're putting the 'project' folder. Now rename the 'project' > folder 'ROOT'. If you mean have appBase point to the project folder, that won't work (the appBase must not be the same as a docBase). If you mean have appBase point to one level above the project folder, that will work for this one webapp, but it will break access to the other Tomcat webapps, such as docs and the two examples apps. The missing step (besides the invalid path attribute) is probably failing to remove webapps/ROOT. - 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]