File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "War not deploying" Watch "War not deploying" New topic

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

Joined: Dec 11, 2004
Posts: 13410

Check the autoDeploy attribute of your Host entry in server.xml.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: War not deploying
It's not a secret anymore!