cuncurrent WFS-requests are causing wrong responses
---------------------------------------------------
Key: GEOS-583
URL: http://jira.codehaus.org/browse/GEOS-583
Project: GeoServer
Type: Bug
Components: WFS
Versions: 1.3.0
Environment: All
Reporter: Markus Wenzel
Assigned to: dblasby
Priority: Blocker
Fix For: 1.3.0
Attachments: patch.txt
If a client is sending more than one WFS GetFeature request concurrently (via 2 ore more threads) the resulting responses are sometimes mixed up: The city-request gets the river-response.
This is because the request is written to a temporary file by the WfsDispatcher and the file objekt is kept in mind by a member variable. When the second reqest is dispatched this member variable is overwritten and the first reqest reads in the second, which yields to the response of the second request.
Fixing this problem is very easy since the member variable is just used in one method. Therefore you just have to make the member variable to a local variable in the using method and everything works fine (see attaced patch).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira