On Fri, 2005-12-09 at 14:31 -0500, Rajat Sharma wrote:
> This one is interesting. I got an exception in 
> 
> HttpClientInstance.executeMethod(getMethodInstance) 
> 
> 
> StackTrace is as follows : 
> 
> Dec 9, 2005 2:13:09 PM org.apache.commons.httpclient.HttpMethodBase 
> processRequest
> INFO: Recoverable exception caught when processing request
> Dec 9, 2005 2:13:09 PM org.apache.commons.httpclient.HttpMethodBase 
> processRequest
> WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() 
> returned false, rethrowing exception
> org.apache.commons.httpclient.HttpRecoverableException: 
> org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the 
> status  line from the response: unable to find line starting with "HTTP"
>       at 
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1962)
>       at 
> org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2653)
>       at 
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087)
>       at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
>       at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
> 
> 
> Why is there an exception coming ? 
> Is there a way to workaround this issue ? 
> 

Raj,
Turn on the wire logging and see what kind of response you are getting
from the server. Usually this kind of exception is thrown when the
target server fails to respond with a valid HTTP response

Oleg

> 
> Raj
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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