aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jakarta HttpClient" Watch "Jakarta HttpClient" New topic
Author

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
java.net.SocketException: Connection reset
Please suggest,
Thanks,
Divya
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?

Thanks.


SCJP 1.4<br />SCWCD 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jakarta HttpClient
 
Similar Threads
Timeout for HttpURLConnection
Http Post Using java.net
Invoking a servlet from an application??
which java library to connect to internet?
Scheduling a Task With Servlet