hello all, would appreciate any help in answering few questions.
i'm using the GeoTools libraries version 2.5.3 to interact with
a GeoServer 1.6.4 (which uses version 2.4.4 of GeoTools) and i'm
encountering a broken pipe exception on the GeoServer side. this
usually is indicative of the client side code closing the
connection to the GeoServer web app (Jetty in this case). the
logs on the client side show the following exception trace, which
occurs 10 secs. after the request is received by GeoServer:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
at
org.geotools.data.ows.AbstractOpenWebService.internalIssueRequest(AbstractOpenWebService.java:413)
at
org.geotools.data.wms.WebMapServer.issueRequest(WebMapServer.java:395)
the only place i specifically set a time-out of 10 secs. on the
client side is when instatiating and using a WFS DataStore. this
happens before the WMS GetMap request is issued which in turns is
interrupted by the above exception.
few questions:
* does setting a WFS data store connection timeout have a
bearing on WMS request timeouts?
* is it possible to configure and use the Apache Commons
HttpClient library instead of the default Java Runtime
HTTP URL Connection code?
* is it possible to configure a time-out value for client-side
WMS connection requests --akin to the WFSDataStoreFactory:TIMEOUT
configuration property?
TIA + cheers;
rsn
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
