This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
Prevent loading application morethan once in Tomcat
Question about auto-deploying WAR files and resulting URL?
Tomcat alias - cannot find WEB-INF/web.xml
DNS forwarding with multiple applications
How to change virtual host from http://localhost/test to http://www.fakedomain.com/?