Hi all, I have the following problem with tomcat 6.0: I have two webapps, ROOT and myWebApp. ROOT is deployed to /var/lib/tomcat-6/webapps and has the following entry in server.xml:
<Host name="localhost" appBase="/var/lib/tomcat-6/webapps" unpackWARs="true" autoDeploy="true"></Host> I can reach it fine through http://1.2.3.4/ and if I redeploy ROOT (using the tomcat-maven-plugin), I do not need to restart tomcat. Everything works fine. On the other hand, myWebApp is deployed to /var/lib/tomcat-6/webapps/myWebApp and has the following entry in server.xml: <Host name="otherserver" appBase="/var/lib/tomcat-6/webapps/myWebApp" unpackWARs="true" autoDeploy="true"> <Alias>www.otherserver.com</Alias> <Context path="" reloadable="true" docBase="/var/lib/tomcat-6/webapps/myWebApp"/> </Host> I can reach it fine through http://1.2.3.4/myWebApp and through http://www.otherserver.com. However, if I redeploy myWebApp, http://1.2.3.4/myWebApp works fine but http://www.otherserver.com gives a 404 resource unavailable error. The only way I can fix it is to restart tomcat. Any ideas why a redeployed webapp might work from http://1.2.3.4/myWebApp but not from http://www.otherserver.com? Martin. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]