[Geoserver-devel] [JIRA] (GEOS-8011) On WIndows, Create Store interface creates invalid URL/path: unable to create store

Richard Duivenvoorde created an issue

GeoServer / BugGEOS-8011

On WIndows, Create Store interface creates invalid URL/path: unable to create store

Issue Type:

BugBug

Affects Versions:

2.10.2

Assignee:

Unassigned

Attachments:

windowserror2.jpg, windowserror.jpg

Components:

Configuration, image mosaic, UI, Wicket UI

Created:

02/Mar/17 10:23 AM

Environment:

WIndows binary and war installs.

Tested on both WindowsServer2008 and a recent 64bits WIndows10 Desktop

Priority:

MediumMedium

Reporter:

Richard Duivenvoorde

On Windows using Geoserver 2.10 admin webinterface, try to create a Image Mosaic store by using the browse button and browse to whatever directory outside the GEOSERVER_DATA_DIR folder (be it on c: or d: or e,
eg
d:\data
you will see in the webpage:
file://D:\data
when trying to save it as a store you will see an error message (see windowserror.jpg):

Could not list layers for this store, an error occurred retrieving them. Failed to create reader from file://D:\data and hints is null

Note that in 2.8 the same url’s/paths just work:
file://E:\luchtfotos2016
file://D:\data

Funny thing is (see windowserror2.jpg) that browsing for a Shapefile store you will see the same funny file-URL’s:
file://C:\temp\provincies\provincies.shp
but at least the creation of the store just works

Maybe it has something to do with the types of datastore (which handle the URL’s?) or maybe it has something to do that for a shapefile you point to a FILE and for a MosaicStore you point to a DIRECTORY?

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.789.2#100032-sha1:1297bd3)

Atlassian logo