This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
Changes on JSP
How is JSP Hot Deployment done in Tomcat?
Hot Deploy DataSource in Tomcat?
Replacing a Web Application without restarting the container
struts HTTP Status 503 - Servlet action is currently unavailable