I have a Tomcat 7.0.16 install with two WAR based webapps in it.

First test case:
Two war files in <tomcat-home>/webapps at startup
1. ROOT.war
2. another.war
If I request http://localhost:8080/another/something it goes to the another webapp.

Second test case:
Two war files in <tomcat-home>/webapps at startup
1. ROOT.war
2. wibble.war
If I request http://localhost:8080/wibble/something it goes to the ROOT webapp.

Third test case:
One war file in <tomcat-home>/webapps at startup
1. ROOT.war
Second war file added to <tomcat-home>/webapps after startup (with auto-deploy on)
2. another.war
If I request http://localhost:8080/another/something it goes to the ROOT webapp.

It looks like Tomcat is adding the webapps contexts to it's "filter" list in alphabetical order at startup and then adding any auto-deployed WARs afterwards but I can't believe it is that simple. Can anyone give/link to a proper explanation?

Cheers





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to