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 War not deploying 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 "War not deploying" Watch "War not deploying" New topic
Author

War not deploying

Ed Carrington
Ranch Hand

Joined: Oct 11, 2007
Posts: 77
I created a WAR in my Tomcat 4.1.36 container and then loaded it in another workstation Tomcat 4.1.27 container webapp directory. I stopped and started Tomcat and the War doesnt deploy in the webapp directory. It just shows the War file and no directory for my web application. If I create a War in the 4.1.27 container and deploy it in the same one it does work. Can someone give me advise on this on why the 4.1.36 to 4.1.27 War delployment wont work?
Eelco den Heijer
Ranch Hand

Joined: Jan 17, 2002
Posts: 61
Do you have hot deployment enabled in the Tomcat 4.1 instance? (my guess is that you haven't). You can also deploy the war explicitly using the Tomcat manager (usually found on http://localhost:8080/manager/html); I'm not 100% if the Tomcat manager is always installed in 4.1, so if it isn't, you have to download & install it.

Hope this helps.


== <br />Rgrds,<br />Eelco<br /> <br />SCJP, SCJD, SCBCD, SCWD, SCEA
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Check the autoDeploy attribute of your Host entry in server.xml.
http://tomcat.apache.org/tomcat-4.1-doc/config/host.html


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: War not deploying
 
Similar Threads
Tomcat version question
deploy ear file without gui
War not working
War not updating my project
Redeploy application