-
Bug
-
Resolution: Done
-
Major
-
2.0.1.GA
-
None
-
None
Hi!
I'm getting the following error using the client framework version 2.0.1.GA:
java.lang.RuntimeException:
org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout
waiting
for connection
at org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:96)
at org.jboss.resteasy.client.core.ClientProxy.invoke(ClientProxy.java:72)
I'm using org.jboss.resteasy.client.core.executors.ApacheHttpClientExecutor.
I noted that this error occurs after 30 404 responses returned by the
server, and 30 is exactly the maxConnectionsPerHost configured in my
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.
I think the client is not properly closing the connections when an
error is returned by the server.
I tested with version 1.2.1 and the error doesn't occur.