Michael,

I am using the latest version. I have found the solution : use MultiThreadedHttpConnectionManager. Before that I was using the default Simple.....

Paul

Michael Becke wrote:

Hi Paul,

Sounds like you are using an older version of HttpClient. I suggest upgrading to 2.0.

Mike

On Mar 30, 2004, at 9:52 PM, paul wrote:

Dear all,

Need some help here. I am sending many xml to a IIS webserver using the same Httpclient object & same PostMethod object to sent. Wheneven I sent xmls within intervals of less than 2 secs,
the following exceptions occurred :
=============================================
Mar 31, 2004 10:19:36 AM org.apache.commons.httpclient.HttpMethodBase readResponse
INFO: Discarding unexpected response: HTTP/1.1 100 Continue
Mar 31, 2004 10:19:36 AM org.apache.commons.httpclient.HttpMethodBase processRequest
INFO: Recoverable exception caught when processing request
Mar 31, 2004 10:19:36 AM org.apache.commons.httpclient.HttpMethodBase processRequest
WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
org.apache.commons.httpclient.HttpRecoverableException: java.net.SocketTimeoutException: Read timed out
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBas e.java:1965)
at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodB ase.java:2659)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.jav a:1093)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java: 675)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java: 529)
=============================================


Pls help. Thanks

Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to