File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes My web aplication is deployed twice in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "My web aplication is deployed twice in tomcat" Watch "My web aplication is deployed twice in tomcat" New topic
Author

My web aplication is deployed twice in tomcat

Sunny Bhinde
Greenhorn

Joined: Aug 14, 2012
Posts: 3
Hi,
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My web aplication is deployed twice in tomcat