This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Tomcat and the fly likes when to restart tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "when to restart tomcat" Watch "when to restart tomcat" New topic
Author

when to restart tomcat

paritosh ranjan
Ranch Hand

Joined: Aug 24, 2007
Posts: 62
Do I need to restart tomcat when I change my deployment descriptor(web.xml)?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35439
    
    9
No, that's not necessary. It's sufficient to reload the web application whose web.xml file you have changed.


Android appsImageJ pluginsJava web charts
paritosh ranjan
Ranch Hand

Joined: Aug 24, 2007
Posts: 62
Is there any event after which we must start tomcat?
or reloading helps every time
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35439
    
    9
If you make changes to the Tomcat configuration (as opposed to changes to one of its web app's configuations) you need to restart the server. Any of the files in TOMCAT_HOME/conf would be examples of this.
paritosh ranjan
Ranch Hand

Joined: Aug 24, 2007
Posts: 62
thanks a lot
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: when to restart tomcat
 
Similar Threads
Do I need to restart TOMCAT???????
Trouble restarting Tomcat 6.0.30 with Eclipse
.html files
FAIL - Application at context path
eclipse tomcat context reloading on each jsp save :(