This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
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: 42372
    
  64
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 ]

Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Replacing a Web Application without restarting the container