This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design 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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
No, that's not necessary. It's sufficient to reload the web application whose web.xml file you have changed.
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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
 
Have you checked out Aspose?
 
subject: when to restart tomcat
 
It's not a secret anymore!