[Geoserver-devel] [JIRA] (GEOS-9140) Import Data unable to create PostGIS DataStore

Jody Garnett created an issue

GeoServer / BugGEOS-9140

Import Data unable to create PostGIS DataStore

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Importer, PostGIS

Created:

06/Mar/19 8:42 PM

Environment:

Confirmed on Ubuntu and Liniux against PostGIS 2.5 / PostgreSQL 9.6

Priority:

MediumMedium

Reporter:

Jody Garnett

When going through Import Data screen to connect to a postgis database, create a new workspace, and create a new store it comes back with No data to import was found and the following logs:

06 Mar 11:34:46 ERROR [geoserver.importer] - Failed to init the context 
java.io.IOException: Unable to find data store for specified parameters
	at org.geoserver.importer.Database.prepare(Database.java:60)
	at org.geoserver.importer.Importer.addTasks(Importer.java:472)
	at org.geoserver.importer.Importer.init(Importer.java:440)
	at org.geoserver.importer.Importer.init(Importer.java:425)
	at org.geoserver.importer.Importer.createContext(Importer.java:369)
	at org.geoserver.importer.Importer$3.callInternal(Importer.java:387)
	at org.geoserver.importer.Importer$3.callInternal(Importer.java:384)
	at org.geoserver.importer.Importer$SecurityContextCopyingJob.call(Importer.java:992)
	at org.geoserver.importer.job.Job.call(Job.java:16)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

This only effects importer:

  • Table imported into PostGIS using QGIS DBManager,
  • Manually creating a PostGIS store and publishing the table works
  • Importer works to publish a local shapefile (creating a new shapefile store)
  • Import works to publish a local shapefile (importing into manually created PostGIS store)

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#100099-sha1:d998a3f)

Atlassian logo