Hi,
We are using commons-httpclient-2.0.2.jar for client program.
Intermittently we are getting the following exception when we try to post the
message:
************
Exception occured org.apache.commons.httpclient.HttpRecoverableException:
java.net.SocketTimeoutException: Read timed out
20-Sep-2006 10:52:25 org.apache.commons.httpclient.HttpMethodBase
processRequest
INFO: Recoverable exception caught when processing request
*****************
Is this exception occures while sending the request it self? or is it related
to not getting the response from the server?
We are using the followign method for posting:
-------------------
httpMethod.setRequestBody(myRequestMsg);
int statusCode = m_objHttpClient.executeMethod(httpMethod);
strHttpResponse = httpMethod.getResponseBodyAsString();
Here httpMethod PostMethod and m_objHttpClient is HttpClient object. We are
using MultiThreadedHttpConnectionManager.
------------
Any is help is appreciated.
Thanks
Kunal
---------------------------------
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre.