Reputation: 2069
When we make some changes to .properties
file in tomcat, the server should be restarted.
The question is why ?
What should I do if I want to make on-the-fly changes to tomcat server's properties ( ie without restarting tomcat server ) ?
Upvotes: 0
Views: 2433
Reputation: 2505
If you set the reloadable
attribute of Tomcat's Context element to false, the server will not restart when it finds configuration changes while running.
Yet this applies only to /WEB-INF/classes
and /WEB-INF/lib
, so it would be helpful if you specified which properties file you want to change, as suggested in the comments.
Upvotes: 2