File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 41867
    
  63
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: 41867
    
  63
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://aspose.com/file-tools
 
subject: when to restart tomcat