title: tomcat context defined in server.xml is not loading
body: <p>I have a web application deployed on path</p>
  
  <pre><code>/var/lib/tomcat6/webapps/abc/&lt;/code&gt;
  </code></pre>
  
  <p>in <code>server.xml</code> on path <code>/etc/tomcat/server.xml</code> I have added following lines.</p>
  
  <pre>
  &lt;Context docBase="/var/lib/tomcat6/webapps/abc/" path="/" reloadable="true">
  
    &lt;Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="10000" name="jdbc/abcDB" password="abc" type="javax.sql.DataSource" url="jdbc:mysql://localhost:3306/abc" username="abc"/>
  
  &lt;/Context>
  </pre>
  
  <p>inside the host tag.</p>
  
  <p>When I restart tomcat and hit <code><a href="http://localhost:8080/" rel="nofollow noreferrer">http://localhost:8080/</a></code> nothing appears but when I enter <code><a href="http://localhost:8080/abc" rel="nofollow noreferrer">http://localhost:8080/abc</a></code> home page is displayed which means above entry in <code>server.xml</code> is not taking affect.</p>
  
  <p>What am I doing wrong ??</p>