title: Tomcat mapping context via server.xml
body: <p>I created a war and deployed it to my $CATALINA_HOME/webapps folder just fine.  Then I wanted to test configuring it to point to a war at an arbitrary location such as c:\tmp\mywar.war.  Here is what I put in the server.xml file within $CATALINA_HOME/conf.</p>
  
  <pre><code>&lt;Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true"&gt;
  &lt;Context path="/blah" docBase="h:/tmp/mywar.war" reloadable="true" /&gt;
  &lt;/Host&gt;
  </code></pre>
  
  <p>Tomcat returns 404 when I try to load localhost:8080/blah.  If I point docBase to the exploded war instead, it works just fine.  What am I missing here?</p>