You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Juan Pedro López Sáez <jp...@altiria.com> on 2004/08/30 18:03:29 UTC

Uncommon exception

Hello everybody.

Please, find below the log I got when receiving an exception after
posting some data with HttpClient 2.0

My application catched the following rethrown exception:

30 ago 2004 14:00:14,469 FATAL [Thread-610]
com.altiria.wasp.commons.brokersms.Broker D:145 U:928 S:12373
SenderId:TRUCCO - HttpException in client.executeMethod( post )
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:1965)
        at
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2659)
        at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1093)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:675)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:558)
        at
com.altiria.wasp.commons.brokersms.Broker.send(Broker.java:286)
        at
com.altiria.wasp.mktsms.PushSenderThread.run(PushSenderThread.java:441)
        at java.lang.Thread.run(Thread.java:534)


This kind of exception is uncommon in my application. Most of the HTTP
posts I do are correct, but I'd like to know whether it is a client side
issue or a server side matter. 

What can I do to prevent it appear?

Thank you very much.

Juan Pedro López

********* HttpClient LOG ***************


30 ago 2004 14:00:14,223 DEBUG [Thread-610] httpclient.wire - >>
"XMLDATA= some data"
30 ago 2004 14:00:14,223 DEBUG [Thread-610]
org.apache.commons.httpclient.methods.EntityEnclosingMethod  - Request
body sent
30 ago 2004 14:00:14,223 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.flushRequestOutputStream()
30 ago 2004 14:00:14,223 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.readResponse(HttpState, HttpConnection)
30 ago 2004 14:00:14,223 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)
30 ago 2004 14:00:14,223 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.readLine()
30 ago 2004 14:00:14,223 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpParser - enter HttpParser.readLine()
30 ago 2004 14:00:14,223 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readRawLine()
30 ago 2004 14:00:14,288 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpMethodBase - Closing the connection.
30 ago 2004 14:00:14,288 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.close()
30 ago 2004 14:00:14,288 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.closeSockedAndStreams()
30 ago 2004 14:00:14,288 INFO  [Thread-610]
org.apache.commons.httpclient.HttpMethodBase - Recoverable exception
caught when processing request
30 ago 2004 14:00:14,469 WARN  [Thread-610]
org.apache.commons.httpclient.HttpMethodBase - Recoverable exception
caught but MethodRetryHandler.retryMethod() returned false, rethrowing
exception
30 ago 2004 14:00:14,469 DEBUG [Thread-610]
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.releaseConnection()
30 ago 2004 14:00:14,469 DEBUG [Thread-610]
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager - enter
HttpConnectionManager.releaseConnection(HttpConnection)




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