• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Causing Tomcat to reload automatically after changes have been made server.xml

 
Ravi Khakhkhar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Causing Tomcat to reload automatically after changes have been made server.xml.
I want not to reload server manually after I make changes in server.xml.

How to do that??
It would be great if someone can do the honor.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat does not monitor the timestamp of server.xml after once starting.

Since the range of possible changes to server.xml covers practically everything Tomcat does, there would be no sense to it.

Bill

 
Ravi Khakhkhar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok...Thank you William...
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
William Brogden wrote:Tomcat does not monitor the timestamp of server.xml after once starting.

Since the range of possible changes to server.xml covers practically everything Tomcat does, there would be no sense to it.

Bill



Which is why it's not recommended to put your application Context definitions in server.xml.

If you put Context as a separate file in the context directory (conf/Calalina/localhost, by default), or if you put a META-INF/context.xml in your WAR, the webapp can be updated without shutting down Tomcat.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic