This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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