> From: Ramamoorthy, Saku [mailto:[EMAIL PROTECTED] > Subject: Default Virtual Host Tomcat 5.5 > > <Host name="localhost" appBase="/webapps/appFolder" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false">
The above is incorrect: appBase must point to the directory in which multiple webapps can be deployed, not the directory of any particular webapp. Change it back to just "webapps". > <Context path="" docBase="" debug="0" /> It is never correct to have docBase empty; in this case you want it set to "appFolder". However, <Context> elements should not be placed in server.xml, although that mechanism is still supported primarily for compatibility with older levels. In your case, you should simply remove the <Context> element, and rename your "appFolder" to "ROOT" (case sensitive); that is the proper way of indicating the default webapp for the <Host>. Doing it the way you are will likely get double deployment of the webapp, once as the default and again as /appFolder. - 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]