You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lorenzo Pini edited this page May 27, 2016
·
12 revisions
In order to maximize configuration flexibility, it should be possible to use configuration files (e.g.: property files for DB configuration) located outside the .war package.
In GeoStore, you can define an externalized override file by setting the geostore-ovr system variable pointing to your file.
An override file is a property file where you can override the properties of the Spring beans declared inside the applicationContext file. See also the Spring javadoc documentation.
For instance, when using tomcat in a multiple instance installation (see RUNNING.txt inside tomcat distribution for more info), you can set the geostore-ovr variable in your setenv.sh (or setenv.bat):