title: How to deploy the two web application under the same tomcat under the same port with different Application context?
body: <p>I had deployed one application on tomcat 6 on port 80. My application folder name was myApp1 and it is under webapps folder. I can access it with <a href="http://localhost/myApp1" rel="nofollow">http://localhost/myApp1</a>  I have under web application folder named as myApp2. Also I simply put the myApp2 folder under webapps folder.</p>
  
  <p>But when I try to acces the application 2  with URL <a href="http://localhost/myApp2" rel="nofollow">http://localhost/myApp2</a>. I get error HTTP 404 saying requested resource myApp2 was nor found. Do i have to make some changes in configuration files also <em>i.e.</em> <code>server.xml</code>? Just for the formation both application are placed as folders not as war file </p>
  
  <p><strong>EDIT</strong> To give more info I can see only one entry for myApp1 inside <code>server.xml</code></p>
  
  <pre><code> &lt;Host appBase="webapps" autoDeploy="true" deployOnStartup="true" deployXML="true"     name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false"&gt;
    &lt;Context docBase="E:\workspace_4.3\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ROOT" path="" reloadable="false"/&gt;  
  &lt;Context docBase="E:\workspace_fip_4.3\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\myApp2" path="/fipWebApp" reloadable="true" source="org.eclipse.jst.jee.server:myApp2"/&gt; 
    &lt;/Host&gt;
  </code></pre>