> Thanks for your response.
> 
> The test runs for ~25seconds and only then starts to fail.
> Once it fails I eclipse trace it, by going step by step over the code
> and the failure reproduces on each attempt.
>
>
> Should the ThreadSafeClientConnManager attempt the reconnect or do I
> need to do manual recovery, if so - How?
> 

Then, most likely your application is leaking connections. The
connection manager always creates more connections on demand as long as
the max connection limits are not exceeded. 


> Also, how can I verify that the failure is because of the aggressive
> timeout configuration? I'm aiming at EC2, when due to various load on
> the virtual machine it's actually possible that socket connect will
> take more then 3 seconds... so I assume that this situation is
> possible even with more relaxed connect time constraints.
> 

Please run your application with the connection management context
logging enabled [1] and carefully analyze the log (or post it to this
list if you need help with reading the logs)

Oleg

[1] http://hc.apache.org/httpcomponents-client-ga/logging.html  




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to