Write dispatcher's temp files to somewhere in the DATA_DIR
----------------------------------------------------------
Key: GEOS-459
URL: http://jira.codehaus.org/browse/GEOS-459
Project: GeoServer
Type: Improvement
Components: Error Reporting
Versions: 1.3.0 RC6
Reporter: Chris Holmes
Assigned to: Chris Holmes
Priority: Minor
Fix For: 1.4
Every so often we get a user who gets errors when using the dispatcher (http://localhost:8080/geoserver/wfs - figures out which servlet to send the request to). Right now we write the request to disk, to a temp file, so that the next servlet can read it in successfully. A 'partial-buffer' input strategy should solve this problem in many cases, but we'll still have wfs insert requests that need to be written to disk. One solution would be to specify the temp directory to write to, instead of just using the default. See line 105 of WFS dispatcher, we use the two argument createTempFile command. We could grad the GEOSERVER_DATA_DIR and write there, since we _know_ that we have permissions to write there, or else we wouldn't be able to save.
Of course if we ever slot in an advanced parser like gtxml or XDO then this becomes a non-issue, since it'll figure out on the fly where it should go. But that may be a ways away.
--
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