hi everybody,
i have a weird problem with my 1.6.x geoserver.
I make a wfs transaction, quite long, with more than 300 features.
It takes a certain time to handle it in geoserver.
my clien is build using httpclient apache library.
the client close the connection before the end of the treatment.
is it possible that geoserver do not write the wfs-response speed enough ?
and the httpclient consume the response so quick that it finish to close the socket before the end of response ?
could it be the DEBUG on, which slow process ?
Exception server side :
Result:
04 déc. 10:36:53 WARN [org.geoserver.ows] -
java.io.IOException
at org.geoserver.wfs.response.TransactionResponse.v_1_1(TransactionResponse.java:209)
at org.geoserver.wfs.response.TransactionResponse.write(TransactionResponse.java:63)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:608)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:192)
Caused by: org.mortbay.jetty.EofException
at org.apache.xml.serialize.XMLSerializer.endElement(Unknown Source)
at org.geotools.xml.Encoder.end(Encoder.java:743)
at org.geotools.xml.Encoder.encode(Encoder.java:394)
at org.geotools.xml.Encoder.encode(Encoder.java:313)
at org.geoserver.wfs.response.TransactionResponse.v_1_1(TransactionResponse.java:207)
Trace and Exception client side :
2007-12-04 10:36:45,037 main TRACE httpclient.HttpConnection - enter HttpConnection.flushRequestOutputStream()
2007-12-04 10:36:45,038 main TRACE httpclient.HttpMethodBase - enter HttpMethodBase.readResponse(HttpState, HttpConnection)
2007-12-04 10:36:45,038 main TRACE httpclient.HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2007-12-04 10:36:45,038 main TRACE httpclient.HttpConnection - enter HttpConnection.readLine()
2007-12-04 10:36:45,040 main TRACE httpclient.HttpParser - enter HttpParser.readLine(InputStream, String)
2007-12-04 10:36:45,040 main TRACE httpclient.HttpParser - enter HttpParser.readRawLine()
_*2007-12-04 10:36:49,182 main DEBUG httpclient.HttpMethodDirector - Closing the connection.*_
2007-12-04 10:36:49,182 main TRACE httpclient.HttpConnection - enter HttpConnection.close()
2007-12-04 10:36:49,182 main TRACE httpclient.HttpConnection - enter HttpConnection.closeSockedAndStreams()
2007-12-04 10:36:49,182 main DEBUG transformer.WFSProxyHttpClient - Exception : The server localhost failed to respond
2007-12-04 10:36:49,182 main DEBUG httpclient.HttpMethodDirector - Method retry handler returned false. Automatic recovery will not be attempted
2007-12-04 10:36:49,182 main TRACE httpclient.HttpConnection - enter HttpConnection.releaseConnection()
thanks for your help !
--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr