Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes Do we have to restart Tomcat to display any changes in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Do we have to restart Tomcat to display any changes in servlet" Watch "Do we have to restart Tomcat to display any changes in servlet" New topic
Author

Do we have to restart Tomcat to display any changes in servlet

Pratibha Malhotra
Ranch Hand

Joined: Dec 21, 2003
Posts: 199
I was trying my hands on Tomcat and found my changes done n servlet are not reflected .
I have to restart my server to bring them into picture
Do we have to restart Tomcat to display any changes in servlet


~ Pratibha Malhotra<br /> <br />Sun Certified Java Programmer<br />SCEA 1.4 (In Progress)<br />~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />"Many of life's failures are people who did not realize how close they were to success when they gave up!!"
Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134
Hi Gunjan,
if you have set the parameter reloadable=false in the context block in server.xml file, u need to restart tomcat to notice the changes made to the servlet. If u dont want to restart everytime, set the reloadable parameter to true.


"Failure is not when you fall down; its only when you fail to get up again."
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Also you should investigate the Mangement functions which allow you to start stop etc. any application. Your Tomcat installation has the docs on line.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do we have to restart Tomcat to display any changes in servlet
 
Similar Threads
Auto reloading of any edited class/servlet
Hot deploy war file to Tomcat
Difference between JSP and Servlets
restart tomcat from remote
Tomcat restart for changes