I am using tomcat 6.0.35
I have one strange issue for my application it gets deployed twice that i don't want.
As i have gone through server.xml there are 2 virtual host has same appbase(i.e appbase="webapps") but different host name because of that two host the application is deployed twice.
When i remove one host (i.e localhost), my application get's deploy once which is correct but the other application are not getting deployed no autodeployment.
I have used deployOnStartup attribute and set to false to one of the host which still is failing the other application to autodeploy.