[Geoserver-devel] [jira] (GEOS-5790) Bad WFS request causes GeoServer to stop responding to certain requests types

Jonathan Moules created BugGEOS-5790
Bad WFS request causes GeoServer to stop responding to certain requests types

Issue Type:

BugBug

Affects Versions:

2.3.0

Assignee:

Andrea Aime

Components:

WFS

Created:

25/Apr/13 6:37 AM

Description:

This seems quite severe, but maybe I’m just doing something wrong.

My GeoServer is set up and serving WFS and WMS nicely. It responds to WMS-GetLegendGraphic and WFS-DescribeFeatureType just fine.

However, if I send it a slightly malformed WFS GetFeature request like this:

<wfs:GetFeature xmlns:wfs=“http://www.opengis.net/wfs” service=“WFS” version=“1.1.0” xsi:schemaLocation=“http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://usa.opengeo.org http://wppgeog3:8082/geoserver/ows?service=WFS&version=1.1.0&request=DescribeFeatureType&typeName=Public_Data_DB:EXP_MOSAIC_AT_100M_GRID_2011” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<wfs:Query typeName=“feature:EXP_MOSAIC_AT_100M_GRID_2011” srsName=“EPSG:27700” xmlns:feature=“http://usa.opengeo.org”>
<ogc:Filter xmlns:ogc=“http://www.opengis.net/ogc”>
<ogc:PropertyIsGreaterThan>
<ogc:PropertyName>B</ogc:PropertyName>
<ogc:Literal>2</ogc:Literal>
</ogc:PropertyIsGreaterThan>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>

(note the typeName=“feature:EXP_MOSAIC_AT_100M_GRID_2011” - I suspect it shouldn’t say “feature” there, that’s not the workspace name)

GeoServer not only fails to respond to that (not even an error or exception), but it then stops responding to some other queries, such as the aforementioned WMS-GetLegendGraphic for that layer and WFS-DescribeFeatureType for /any/ layer. But it keeps serving some other queries. I’ve not done an exhaustive test to see what is/isn’t working.

There’s absolutely nothing in the logs, even at DEBUG level.

I need to restart GeoServer to get it serving all queries again.

Project:

GeoServer

Priority:

CriticalCritical

Reporter:

Jonathan Moules

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)