WFS DescribeFeatureType request times out after editing

Description

I have problem with WFS DescribeFeatureType request - it times out after WFS-T editing (which doesn't work and return "empty response". After restart of Tomcat, DescribeFeatureType request works again. This problem can be observed in demo servlet, as well as in desktop client (QGIS 2.0). Issue https://jira.codehaus.org/browse/GEOS-6048 - https://jira.codehaus.org/browse/GEOS-6048 may be related.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: ksmith - Time: Thu, 5 Mar 2015 14:48:31 -0600
---------------------
<p>Yes I was starting to think that handling this in the WFS implementation might be a better way to go than in the schema resolver where I'd been looking.</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: ksmith - Time: Thu, 5 Mar 2015 16:43:57 -0600
---------------------
<p>@Andrea I'm not following all the levels of delegation going on to figure out where I could close off the recursion as you describe.</p>

<p>I was able to find why the timeout that is supposed to guard against this isn't working. HTTPURIHandler specifies default connection and read timeouts, of 10 s as constants, but never applies those defaults. The actual default is 0, which is interpreted as infinite. So the HTTP client just sits and waits forever inside the global lock. Fixing this causes the request to fail rather than hanging GeoServer.</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: aaime - Time: Fri, 6 Mar 2015 02:25:14 -0600
---------------------
<p>@Kevin, not sure about your first question... but XSD has a way to revolve around itself that will cause a headache to most people (and might permanently injure some!).</p>

<p>About the code not applying its default, ouch! Good catch.</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: ksmith - Time: Wed, 11 Mar 2015 15:08:03 -0500
---------------------
<p><a href="https://github.com/geoserver/geoserver/pull/962" class="external-link" rel="nofollow">https://github.com/geoserver/geoserver/pull/962</a> PR to master

<a href="https://github.com/geoserver/geoserver/pull/968" class="external-link" rel="nofollow">https://github.com/geoserver/geoserver/pull/968</a> PR to 2.7.x</p>

Andrea Aime
February 15, 2017, 11:52 AM

Mass closing all resolved issues not modified in the last 4 weeks

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure