Using GeoServer 2.7.2 and the matching download of GeoFence.  On my local 
Windows computer geofence starts up and creates its h2 (default) database by 
default at the home directory of my tomcat instance.  That's OK under Windows 
but not Linux.

I tried creating a property override file so I can change the location where 
the h2 database gets created but I'm having no luck getting it to happen there 
in spite of confirming in the tomcat log that my property file is being read.

In the JVM startup flags I have:
-Dgeofence-ovr=file:/C:\fdotwebsvc\GeoServerDataDir\geofence-byers-ovr.properties

During tomcat startup I observe this in the log:
12:17:12,047  INFO PropertyOverrideConfigurer:177 - Loading properties file from
URL [file:/C:/fdotwebsvc/GeoServerDataDir/geofence-byers-ovr.properties]

In the geofence-byers-ovr.properties file I have a single line with:
geofenceDataSource.url=jdbc:h2:C:\fdotwebsvc\h2db\geofence.h2.db

But when I start my local tomcat I see nothing get created in the above h2db 
directory and I see a lock-file added to the {tomcat-home}/geofence_db 
directory.

What can I do to change the location where the db gets created?

Thanks for any assistance!

Walter
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to