File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Hot deploying WARs in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Hot deploying WARs in Tomcat" Watch "Hot deploying WARs in Tomcat" New topic

Hot deploying WARs in Tomcat

Chet Arora

Joined: May 20, 2003
Posts: 29

Is it possible to hot deploy WARs in tomcat (not having to restart tomcat every time a WAR is updated) ?
If yes then what is the procedure to hot deploy...


Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Moving the new war file into the webapps directory will deploy or re-deploy the app without needing to restart.

You might also want to look into the manager and HTMLManager apps that ship with Tomcat. The manager app also comes with libraries that allow you to handle deployment issues from ANT build scripts.

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