When adding a new datastore containing a Geopackage, which is located inside the data directory, I'm getting the following exception: Error creating data store, check the parameters. Error message: Unable to obtain connection: Cannot create PoolableConnectionFactory (path to 'data/mossel.gpkg': '/usr/local/tomcat/data' does not exist). As you can see, my geopackage file (mossel.gpkg) is located in a subdir called data in the GEOSERVER_DATA_DIR. On another host, with a different setup, the error message is a bit different: Error creating data store, check the parameters. Error message: Unable to obtain connection: Cannot create PoolableConnectionFactory (path to 'data/mossel.gpkg': '/data' does not exist) It seems there is an issue when a relative path is used to add a new Geopackage datastore. I'm able to apply a workaround by creating a symlink (ln -s) in the appropriate place. |