> From: Martin Harrigan [mailto:[EMAIL PROTECTED] > Subject: Virtual Hosts and 'Hot' Redeployment > > Any ideas why a redeployed webapp might work from > http://1.2.3.4/myWebApp but not from > http://www.otherserver.com?
Your configuration is invalid, so predictable operation is not possible. To fix the config, you first need to give each <Host> a separate, non-overlapping appBase. Then, deploy your myWebApp as ROOT (not myWebApp) in the "otherserver" appBase. If you then want to access the "otherserver" default webapp from localhost, create a <Context> element in conf/Catalina/localhost/myWebApp.xml with a docBase attribute whose value is the "otherserver"'s [appBase]/ROOT directory (or [appBase]/ROOT.war, if appropriate). Note that this is a separate run-time instance of myWebApp - there's no way to avoid that. - 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]