How to update a .war in Tomcat
<p>I am new to Tomcat and following is the steps I am using to update a .war in Tomcat: </p>

<ol>
<li>stop tomcat.</li>
<li>delete .war and the folder with same name in /webapps.</li>
<li>copy and paste my new .war in /webapps.</li>
<li>restart tomcat by ./bin/catalina.sh run.</li>
</ol>

<p>However, the new .war always won't work. Seems it's the old version .war that is running. </p>

<p>In /conf/server.xml, I am using the following configs:</p>

<pre><code>  &lt;Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true"&gt;
</code></pre>

<p>Can someone help me on this problem? Thanks!</p>