> From: Chris Hall [mailto:[EMAIL PROTECTED] > Subject: Multiple Contexts from single WAR > > I have defined multiple contexts in > conf/catalina/localhost/*.xml each of which use > a common docBase and this appears to create each > of the webapps on start-up.
If you're going to play this game, make sure the webapp is not installed under the <Host> appBase directory - doing so may cause a bit of confusion. > the servlet-mapping entries that are defined in > the common web-inf/web.xml I hope you mean WEB-INF/web.xml, since case matters. > the url-pattern which redirects to a servlet does > not take effect on the copied context definition Is the app using hard-coded URLs anywhere? You didn't bother to mention what version of Tomcat you're using. Assuming you're on a reasonably current one, you could try enabling the AccessLogValve for the <Host>. - 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]