my dog learned polymorphism*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hot deploying WARs in Tomcat
 
Similar Threads
Hot Deploy DataSource in Tomcat?
struts HTTP Status 503 - Servlet action is currently unavailable
Replacing a Web Application without restarting the container
How is JSP Hot Deployment done in Tomcat?
Changes on JSP