Recognizing properties file changes without restarting Tomcat

后端 未结 4 657
温柔的废话
温柔的废话 2020-12-19 01:47

Is there any way for the server to recognize the changes without restarting after a properties file updated? Because it causes Java.lang.OutOfMemoryError: PermGen space afte

4条回答
  •  抹茶落季
    2020-12-19 02:05

    Take a look at Tomcat Context/WatchedResources.

    path/to/watched/resource

    http://www.mulesoft.com/tomcat-reload#context

提交回复
热议问题