title: A 404 in all apps in Tomcat6 until conf/Catalina/localhost dir is deleted
body: <p>I'm having a strange issue. </p>
  
  <p>A webapp I deployed to Tomcat 6.0.29 will work just fine. As soon as I restart Tomcat however, all my webapps will produce 404s. But, as soon as the <code>tomcat/conf/Catalina/localhost</code> directory with all the files is deleted and the server is restarted, the web apps will work fine again! Of course, the <code>[webapp].xml</code> files within <code>conf/Catalina/localhost</code> are just copies of <code>context.xml</code> for each respective web app, and they are not changed in the process of this shutdown/startup cycle, so I'm completely at a loss as to why Tomcat is choking.</p>