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 file deployment problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "war file deployment problem" Watch "war file deployment problem" New topic

war file deployment problem

david hu
Ranch Hand

Joined: Jul 20, 2001
Posts: 143
I am deploying my .war file to tomcat's webapps dir.My problem is that I have to delete the expanded dir (I have deploy it before) first, then the .war can be automatically expanded either at the start of the tomcat or during the run of the tomcat.

It is so incovenient. Is there a way for me to drop a .war file under webapps dir of tomcat without deleteing the dir deployed before?


Hassan Schnieder

Joined: Jun 09, 2006
Posts: 11

You should use the tomcat manager to upload your war files. That is the best way I know of so far.

subject: war file deployment problem