File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Jakarta HttpClient Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jakarta HttpClient" Watch "Jakarta HttpClient" New topic

Jakarta HttpClient

divya madala
Ranch Hand

Joined: Jan 10, 2001
Posts: 61
I'm trying to connect to the site using httpclient of Jakarta, but for every 10 minutes my program stops throwing the exception.
Just wondering what I need to do avoid this....
Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception Connection reset
Please suggest,
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Have you tried following the troubleshooting procedures described here?
Maybe the wire trace will give you a better idea what is happening.
Are you going through a proxy server? There's a couple of posts in the archive referring to resets invoving proxies.
Are you using the most recent version? Have you tried different versions?
[ December 22, 2003: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Sean Sullivan
Ranch Hand

Joined: Sep 09, 2001
Posts: 427
are you using HTTP POST or HTTP GET?
Is there a proxy?
Are you using HttpClient 2.0 RC2 ?
divya madala
Ranch Hand

Joined: Jan 10, 2001
Posts: 61
To answer your questions:
I'm not using proxy
using HTTP GET
using HttpClient 2.0 RC2
Was just thinking timeout option might help...........
It could be happening that my program is processing the information( I'm doing a lot of parsing and make a get request again) and in the mean time it looses the connection to the server.
I'm going to try that and see....
Any suggestions?!!!
dennis zined
Ranch Hand

Joined: Mar 07, 2003
Posts: 330
Hi all. Came across this post as I have been having the same problem. Would anybody know a solution to this?


SCJP 1.4<br />SCWCD 1.4
I agree. Here's the link:
subject: Jakarta HttpClient
It's not a secret anymore!