aspose file tools*
The moose likes Tomcat and the fly likes when to restart tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
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: 42285
    
  64
No, that's not necessary. It's sufficient to reload the web application whose web.xml file you have changed.


Ping & DNS - my free Android networking tools app
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: 42285
    
  64
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
 
jQuery in Action, 2nd edition
 
subject: when to restart tomcat