I should clarify.  We are using org.restlet.ext.httpclient.

In our log file, when the request is for a valid resource URI, we see log 
messages that indicate the connection is being returned to the pool.

15:18:31.193 [qtp1028854205-70 - /order] DEBUG 
o.a.h.i.c.t.ThreadSafeClientConnManager - Released connection is reusable.
15:18:31.193 [qtp1028854205-70 - /order] DEBUG 
o.a.h.i.conn.tsccm.ConnPoolByRoute - Releasing connection 
[HttpRoute[{}->http://localhost:8111]][null]
15:18:31.193 [qtp1028854205-70 - /order] DEBUG 
o.a.h.i.conn.tsccm.ConnPoolByRoute - Pooling connection 
[HttpRoute[{}->http://localhost:8111]][null]; keep alive indefinitely
15:18:31.193 [qtp1028854205-70 - /order] DEBUG 
o.a.h.i.conn.tsccm.ConnPoolByRoute - Notifying no-one, there are no waiting 
threads


But in the case of an error we don't see those log messages.  I only see this 
msg related to the connection.


14:22:53.386 [qtp1028854205-15 - /order] DEBUG 
o.a.h.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2994158

Reply via email to