Hi Walter
just a question related to this:
> 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]
That line says that Spring is trying to load such file, but it's not said it
will succeed.
Look at this example:
| 15:04:35,431 INFO PropertyOverrideConfigurer:177 - Loading properties file
from URL
[file:/home/etj/catalina_base/geofence_ares/this_file_does_not_exist.properties]
| 15:04:35,432 WARN PropertyOverrideConfigurer:198 - Could not load properties
from URL
[file:/home/etj/catalina_base/geofence_ares/this_file_does_not_exist.properties]:
|
/home/geosol/catalina_base/geofence_ares/this_file_does_not_exist.properties
(No such file or directory)
Can you check you don't have this WARN in your log?
Thanks,
Emanuele
Alle 14:24:32 di Friday 25 September 2015, Walter Stovall ha scritto:
> 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.prop
> erties
>
> 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 Professional Services from the experts!
Visit http://goo.gl/NWWaa2 for more information.
==
Ing. Emanuele Tajariol
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 380 2116282
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users