Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My web aplication is deployed twice in tomcat

Sunny Bhinde
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Please help me if there is any other solutions.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic