[Geoserver-devel] [JIRA] (GEOS-8054) Renaming of data store directory path breaks WFS but not WMS

Richard Duivenvoorde created an issue

GeoServer / BugGEOS-8054

Renaming of data store directory path breaks WFS but not WMS

Issue Type:

BugBug

Affects Versions:

2.9.2, 2.10.2, 2.11.0

Assignee:

Unassigned

Components:

WFS

Created:

29/Mar/17 3:23 PM

Environment:

Windows Server 2008 RC2

Priority:

MediumMedium

Reporter:

Richard Duivenvoorde

Having a Geoserver running on Windows Server here, pointing to a custom GEOSERVER_DATA_DIR.
After placing shapefiles in a dir xxx in the data_dir\data\shapefiles directory and creating a store and layer all was ok.
Then a collegeau thought that this layers should not be visible YET, and renamed the xxx directory to xxx_not_yet, thereby breaking the path of the datastore off course.

BUT: it turns out that now ALL WFS-services are broken. If you do a request not to the WFS end point you receive something like:

<ows:ExceptionReport xmlns:xs=“http://www.w3.org/2001/XMLSchema” xmlns:ows=“http://www.opengis.net/ows” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/ows http://gng-ap713.nieuwegein.nl/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd”>
<ows:Exception exceptionCode=“NoApplicableCode”>
<ows:ExceptionText>java.lang.RuntimeException: java.io.FileNotFoundException: d:\data\geoserver\data_dir\d:\data\geoserver\data_dir\data\shapefiles\Luchtkwaliteit_2016\Concentraties_2016.shp (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: d:\data\geoserver\data_dir\d:\data\geoserver\data_dir\data\shapefiles\Luchtkwaliteit_2016\Concentraties_2016.shp (The filename, directory name, or volume label syntax is incorrect)
d:\data\geoserver\data_dir\d:\data\geoserver\data_dir\data\shapefiles\Luchtkwaliteit_2016\Concentraties_2016.shp (The filename, directory name, or volume label syntax is incorrect)</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

The WMS services keeps working fine.

While I agree that renaming folders in the datadir should not be done, I consider it an issue that ALL WFS services break with this.

Probably hard to fix?

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.844.2#100035-sha1:71171a4)

Atlassian logo