[Geoserver-devel] [JIRA] (GEOS-8366) Cannot add a Geopackage as a data store from within the data directory

Frank Steggink created an issue

GeoServer / BugGEOS-8366

Cannot add a Geopackage as a data store from within the data directory

Issue Type:

BugBug

Assignee:

Unassigned

Created:

25/Oct/17 10:28 AM

Priority:

MediumMedium

Reporter:

Frank Steggink

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.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100069-sha1:d467b4d)

Atlassian logo