I will take a look on the server.
Do you know if the correct way to release the connection on the client side is
PostMethod.releaseConnection() in HttpClient 3.1 ? The client open a lot of
connections, maybe they are not closed correctly.
sebb wrote:
On 21/04/2009, Christian Gendreau <[email protected]> wrote:
Hi,
I'm using httpclient 3.1 to access a custom WebService from a Java program.
Sometimes, I got a HttpClient error that says "The host /did not accept/ the
connection within timeout of /5000/ ms". The error pop at random time and
all others calls are successfully made. I search the Internet and I only got
issues related to Firewall which doesn't seem to be my case. The server is a
typical tomcat 5.5 server.
Does someone have any clue?
Sounds to me like the server (or possibly the local system) has run
out of spare connections.
Do an update to httpclient 4.0 will solve this problem ?
Seems unlikely if the problem is server-related.
thank you
Christian Gendreau
---------------------------------------------------------------------
To unsubscribe, e-mail:
[email protected]
For additional commands, e-mail:
[email protected]
--
This message has been verified by LastSpam (http://www.lastspam.com) eMail security service, provided by SoluLAN
Ce courriel a ete verifie par le service de securite pour courriels LastSpam (http://www.lastspam.com), fourni par SoluLAN (http://www.solulan.com)
www.solulan.com
.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]