catalina.properties gets overridden on Tomcat rest

2020-02-11 05:31发布

I added a property to common.loader in Catalina.properties (eg. added C:/apps/conf) and it is getting reset when I restart Tomcat 7. Though this is not the case on every restart.

Wonder why it's getting overridden sometimes when the server is bounced, any ideas?

1条回答
老娘就宠你
2楼-- · 2020-02-11 06:26

If you're using Eclipse, make sure you update catalina.properties in the "Servers" project in your workspace before you restart. This is the master version of this file and will overwrite anything you may have changed in your tomcat directory.

查看更多
登录 后发表回答