File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Replacing a Web Application without restarting the container Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Replacing a Web Application without restarting the container" Watch "Replacing a Web Application without restarting the container" New topic
Author

Replacing a Web Application without restarting the container

Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
According to the spec,

"A server should be able to replace an application with a new version without
restarting the container. When an application is replaced, the container should provide a robust method for preserving session data within that application."

How do we do this in tomcat.Is this possible in weblogic server
[ September 13, 2006: Message edited by: Senthil Kumar SS ]

when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
David Bates
Ranch Hand

Joined: Sep 03, 2006
Posts: 32
As far as I know this is optional functionality. Tomcat can't do a "hot deploy", although other containers can.


<a href="http://www.trycatch.net" target="_blank" rel="nofollow">http://www.trycatch.net</a>
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35232
    
    7
The "manager" web app can start/stop/restart/remove individual applications in Tomcat. It's installed under http://localhost:8080/manager/ , but I think (can't quite remember) that it's not enabled by default. Check whether there's a file TOMCAT_HOME/Catalina/localhost/manager.xml

Its documentation is here.
[ September 13, 2006: Message edited by: Ulf Dittmer ]

Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Replacing a Web Application without restarting the container
 
Similar Threads
weblogic in debug mode
Choosing server port
On-the-Fly changing the layout in JSP or web page
Servlet release database Connection
Reload Struts property file