hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück <ortwin.glu...@nose.ch>
Subject Re: HttpClient problems
Date Thu, 27 May 2004 12:28:16 GMT


paul wrote:
> 2004/05/26 20:09:50:290 SGT [DEBUG] EntityEnclosingMethod - -Request 
> body sent
> 2004/05/26 20:09:50:562 SGT [DEBUG] HttpMethodBase - -Closing the 
> connection.

Why is the connection closed here? Who is doing this? The response has 
not been read yet!

Could this be a threading issue? Are you reusing HttpMethod objects? At 
what point you call HttpMethod#releaseConnection()?

Any code from your app available?

> 2004/05/26 20:09:50:563 SGT [INFO] HttpMethodBase - -Recoverable 
> exception caught when processing request
> 2004/05/26 20:09:50:563 SGT [WARN] HttpMethodBase - -Recoverable 
> exception caught but MethodRetryHandler.retryMethod() returned false, 
> rethrow
> ing exception
> 2004/05/26 20:09:50:564 SGT [DEBUG] MultiThreadedHttpConnectionManager - 
> -Freeing connection, hostConfig=HostConfiguration[host=somewhere.com, 
> protocol=https:443, port=443]
> 2004/05/26 20:09:50:564 SGT [DEBUG] MultiThreadedHttpConnectionManager - 
> -Notifying no-one, there are no waiting threads
> org.apache.commons.httpclient.HttpRecoverableException: 
> java.net.SocketException: Connection reset
>        at 
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1965) 


-- 
  _________________________________________________________________
  NOSE applied intelligence ag

  ortwin glück                      [www]      http://www.nose.ch
  software engineer                 [email] ortwin.glueck@nose.ch
  hardturmstrasse 171               [pgp id]           0x81CF3416
  8005 zürich                       [office]      +41-1-277 57 35
  switzerland                       [fax]         +41-1-277 57 12

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message