I have a small web application deployed on Tomcat server and is is working
pretty fine, except in one mode. The web application is available through 2
modes of links - one is regular and other is Single Sign On based.
Here is the sample directory structure:
Stop the server
Copy the new war to webapps replacing the old one
remove the complete diretcory of MyApp recursively (rm -rf MyApp)
start the server
We try both the links of application. The normal one works just fine first
time itself. The SSO link shows up the directory listings page of webapps
directory showing the MyApp.war and MyApp directory link.
Now all we need to workaround this is just stop the server again and then
start it. Surprisingly both SSO mode link and normal works totally fine.
This is recurring problem. Is there a proper permanent fix to this?
Please note the web.xml in Tomcat/conf directory has below