Does anyone have experience with upgrading Geoserver 2.11 + Geofence 3.2 to
Geoserver 2.12. It's not fully clear from docs whether I need Geofence 3.3,
and is it possible to upgrade old db.
I tried with Geofence 3.2 branch, but getting errors in geoserver log:
2018-01-03 20:47:48,854 ERROR [geoserver.ows] -
java.lang.NoClassDefFoundError: Could not initialize class
org.geoserver.geofence.services.dto.AccessInfo
at
org.geoserver.geofence.GeofenceAccessManager.getAccessLimits(GeofenceAccessManager.java:306)
at
org.geoserver.geofence.GeofenceAccessManager.getAccessLimits(GeofenceAccessManager.java:291)
On the other hand, when I try to use 3.3, i'm getting in geofence log:
20:58:25,110 ERROR ContextLoader:351 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'startupService' defined in class path resource
[applicationContext-S
ervice.xml]: Invocation of init method failed; nested exception is
javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Can
not open connection
...
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (Unsupported database file version or invalid
file header in
file /var/lib/geoserver/data/geofence_db/geofence.h2.db [90048-118])
I suppose I wil have to migrate all users, groups and rules through REST?
Best regards
Davor
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users