5

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?

A.C
  • 197
  • 3
  • 16

1 Answers1

12

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.

wild_nothing
  • 2,299
  • 28
  • 44
  • 2
    +1. For reference, this is eluded to (but maybe not made as clear as we would've hoped) at http://wiki.eclipse.org/WTP_Tomcat_FAQ . (See also: http://www.eclipse.org/forums/index.php/t/207068/) – ziesemer Nov 12 '13 at 20:06