title: Tomcat's context path for a webapp not working
body: <p>I'm installing Artifactory (<a href="http://www.jfrog.com/products.php" rel="nofollow">http://www.jfrog.com/products.php</a>) under a default tomcat installation (ubuntu server distribution). I create a /etc/tomcat6/Catalina/localhost/artifactory.xml file with the following contents:</p>
  
  <pre><code>&lt;Context path="/maven" docBase="${artifactory.home}/webapps/artifactory.war" debug="0"&gt;
      &lt;Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/&gt;
  &lt;/Context&gt;
  </code></pre>
  
  <p>I want artifactory to be served under <a href="http://serverhostname:8080/maven" rel="nofollow">http://serverhostname:8080/maven</a> , but it gets served under <a href="http://serverhostname:8080/artifactory" rel="nofollow">http://serverhostname:8080/artifactory</a> instead. Any clues?</p>