title: Tomcat 6 configuration example for Ubuntu Linux?
body: <p>I'm very new to Tomcat and I'm having some issues figuring out how to set it up.  I set it up on Ubuntu Linux and started reading and <em>trying</em> to follow the information given on the apache website here: <a href="http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html" rel="nofollow noreferrer">http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html</a></p>
  
  <p>Apparently I'm missing something.  I have a WAR named MyWebapp.war and it's in a directory /home/mywebapp.  In /etc/tomcat6/Catalina/localhost/MyWebapp.xml, I have the following line: </p>
  
  <pre><code>&lt;Context path="/MyWebapp" docBase="/home/mywebapp" antiResourceLocking="false" /&gt;
  </code></pre>
  
  <p>Everything else is the default configuration that came with tomcat6 via the Ubuntu package.  When I restart Tomcat and try to go to <a href="http://localhost:8080/MyWebapp" rel="nofollow noreferrer">http://localhost:8080/MyWebapp</a>, I get a 404.  The WAR file isn't unpacked and nothing seems to be working.</p>
  
  <p>I'm going to be deploying two Grails applications on this server with Tomcat.</p>
  
  <p>Is there a more straight forward way to do this?</p>