jQuery in Action, 2nd edition*
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
Author

Hot deploying WARs in Tomcat

Chet Arora
Greenhorn

Joined: May 20, 2003
Posts: 29
Hi,

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...

Thanks,

Chetan
Ben Souther
Sheriff

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.

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Don't get me started about those stupid light bulbs.
 
subject: Hot deploying WARs in Tomcat