Causing Tomcat to reload automatically after changes have been made server.xml
Ravi Khakhkhar
Greenhorn
Joined: Sep 01, 2011
Posts: 3
posted
0
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
Joined: Mar 22, 2000
Posts: 12271
1
posted
0
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.
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.
Customer surveys are for companies who didn't pay proper attention to begin with.