commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manikandan R <>
Subject Retrying a HTTP call..
Date Fri, 27 May 2011 13:00:22 GMT
Hi Everyone,

I've started using apache commons httpclient library (version no. 3.1) to
make the http calls recently. In production environment, seeing the
following exceptions in logs:

1. Broken Pipe
2. Connection Reset
3. Connection Timeout
4. Read Time out

Whenever these exceptions, we get the complaints from customers not
completing the tasks. So, we repeat the work manually. To avoid doing it
manually, program should take care of the retries without causing any
duplicates. I am not sure when to do the retry. Basically, for what type of
exceptions, Should I do retry so that it won't end up in duplicates?

Please suggest.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message