• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Jakarta HttpClient

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
are you using HTTP POST or HTTP GET?
Is there a proxy?
Are you using HttpClient 2.0 RC2 ?
 
divya madala
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?!!!
 
Ranch Hand
Posts: 330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all. Came across this post as I have been having the same problem. Would anybody know a solution to this?

Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic