hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: problem with post
Date Fri, 14 Mar 2003 16:03:17 GMT
Vikram
Now it is clear as day light, that the web server you are posting requests to does not support
(or does not correctly implement) 'Expect: 100-continue' handshake. 
1) What web server are you using? Does the server support HTTP/1.1? 
2) Follow the instructions from my previous post to work the problem around
Cheers
Oleg

-----Original Message-----
From: vikram.x.kondadasula@verizon.com
[mailto:vikram.x.kondadasula@verizon.com]
Sent: Freitag, 14. März 2003 16:37
To: Commons HttpClient Project
Subject: RE: problem with post



Hai,

Thanks Tom for pointing out that. Here is my wire log
[DEBUG] wire - ->> "POST / HTTP/1.1
" [\r\n]
[DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0alpha3
" [\r\n]
[DEBUG] wire - ->> "Host: 128.209.62.4:9090
" [\r\n]
[DEBUG] wire - ->> "Content-Length: 821
" [\r\n]
[DEBUG] wire - ->> "Expect: 100-continue
" [\r\n]
[DEBUG] wire - ->> [\r\n]
[DEBUG] wire - -<< "
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:1733)
      at
org.apache.commons.httpclient.HttpMethodBase.writeRemainingRequestBody(HttpMethodBase.java:2377)
      at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:963)
      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:578)
      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:477)
      at
com.verizon.wbtt.components.validator.BMEXTest.main(BMEXTest.java:39)
Exception in thread "main"




And here is the   log

executed post821
[TRACE] GetMethod - -enter GetMethod(String)
[TRACE] PostMethod - -enter PostMethod.setRequestBody(InputStream)
[TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.setRequestBody(InputStream)
[TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.setRequestContentLength(int)
[TRACE] HttpClient - -enter HttpClient.executeMethod(HttpMethod)
[TRACE] HttpClient - -enter
HttpClient.executeMethod(HostConfiguration,HttpMethod)
[DEBUG] HttpConnection - -HttpConnectionManager.getConnection:  creating
connection for 128.209.62.4:9090 via null:-1 using protocol: http:80
[DEBUG] HttpConnection - -HttpConnection.setSoTimeout(0)
[TRACE] HttpConnection - -enter HttpConnection.open()
[TRACE] HttpMethod - -enter HttpMethodBase.execute(HttpState,
HttpConnection)
[TRACE] Authenticator - -enter Authenticator.authenticate(HttpMethod,
HttpState)
[TRACE] Authenticator - -enter Authenticator.authenticate(HttpMethod,
HttpState, Header, String)
[DEBUG] HttpMethod - -Execute loop try 1
[TRACE] HttpMethod - -enter HttpMethodBase.processRequest(HttpState,
HttpConnection)
[TRACE] HttpMethod - -Attempt number 1 to write request
[TRACE] HttpMethod - -enter HttpMethodBase.writeRequest(HttpState,
HttpConnection)
[TRACE] HttpMethod - -enter HttpMethodBase.writeRequestLine(HttpState,
HttpConnection)
[TRACE] HttpMethod - -enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String, String,
String)
[TRACE] HttpConnection - -enter HttpConnection.print(String)
[TRACE] HttpConnection - -enter HttpConnection.write(byte[])
[TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int)
[DEBUG] wire - ->> "POST / HTTP/1.1
" [\r\n]
[TRACE] HttpMethod - -enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
[TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.addRequestHeaders(HttpState, HttpConnection)
[TRACE] HttpMethod - -enter HttpMethodBase.addRequestHeaders(HttpState,
HttpConnection)
[TRACE] HttpMethod - -enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
[TRACE] HttpMethod - -enter HttpMethodBase.addHostRequestHeader(HttpState,
HttpConnection)
[DEBUG] HttpMethod - -Adding Host request header
[TRACE] HttpMethod - -enter
HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
[TRACE] HttpState - -enter HttpState.getCookies()
[TRACE] CookieSpec - -enter CookieSpecBase.match(String, int, String,
boolean, Cookie[])
[TRACE] HttpMethod - -enter
HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection)
[TRACE] HttpMethod - -enter
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState,
HttpConnection)
[TRACE] HttpMethod - -enter
HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection)
[TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestContentLength()
[TRACE] HttpConnection - -enter HttpConnection.print(String)
[TRACE] HttpConnection - -enter HttpConnection.write(byte[])
[TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int)
[DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0alpha3
" [\r\n]
[TRACE] HttpConnection - -enter HttpConnection.print(String)
[TRACE] HttpConnection - -enter HttpConnection.write(byte[])
[TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int)
[DEBUG] wire - ->> "Host: 128.209.62.4:9090
" [\r\n]
[TRACE] HttpConnection - -enter HttpConnection.print(String)
[TRACE] HttpConnection - -enter HttpConnection.write(byte[])
[TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int)
[DEBUG] wire - ->> "Content-Length: 821
" [\r\n]
[TRACE] HttpConnection - -enter HttpConnection.print(String)
[TRACE] HttpConnection - -enter HttpConnection.write(byte[])
[TRACE] HttpConnection - -enter HttpConnection.write(byte[], int, int)
[DEBUG] wire - ->> "Expect: 100-continue
" [\r\n]
[TRACE] HttpConnection - -enter HttpConnection.writeLine()
[DEBUG] wire - ->> [\r\n]
[TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
[DEBUG] EntityEnclosingMethod - -Expecting response
[TRACE] HttpConnection - -enter HttpConnection.waitForResponse(int)
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[TRACE] HttpConnection - -enter HttpConnection.responseAvaliable()
[DEBUG] HttpConnection - -Waiting for response timeout
[DEBUG] HttpMethod - -Response not available. Send the request body
[TRACE] HttpMethod - -enter writeRemainingRequestBody(HttpState,
HttpConnection)
[TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
[TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestContentLength()
[TRACE] EntityEnclosingMethod - -enter EntityEnclosingMethod.getRequestBody
()
[TRACE] HttpConnection - -enter HttpConnection.getRequestOutputStream()
[DEBUG] EntityEnclosingMethod - -Request body sent
[TRACE] HttpMethod - -enter HttpMethodBase.readResponse(HttpState,
HttpConnection)
[TRACE] HttpMethod - -enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection)
[TRACE] HttpConnection - -enter HttpConnection.readLine()
[TRACE] HttpParser - -enter HttpConnection.readLine()
[TRACE] HttpParser - -enter HttpConnection.readRawLine()
[DEBUG] wire - -<< "
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:1733)
      at
org.apache.commons.httpclient.HttpMethodBase.writeRemainingRequestBody(HttpMethodBase.java:2377)
      at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:963)
      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:578)
      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:477)
      at
com.verizon.wbtt.components.validator.BMEXTest.main(BMEXTest.java:38)
Exception in thread "main"

Thanks
Vikram




"Tom Samplonius" <tom@sdf.com> on 03/14/2003 02:06:09 AM

Please respond to "Commons HttpClient Project"
       <commons-httpclient-dev@jakarta.apache.org>

To:    "Commons HttpClient Project"
       <commons-httpclient-dev@jakarta.apache.org>
cc:
Subject:    RE: problem with post



On Thu, 13 Mar 2003 vikram.x.kondadasula@verizon.com wrote:

> System.setProperty(
> "org.apache.commons.logging.simplelog.log.httpclient.wire ", "debug");

  I had this problem too.  You copied this right off the website, didn't
you?  Well, there is an extra space after ".wire" that prevents this from
doing anything.  Take it out, and it will activate wirelogging.

  Someone might want to fix the website.

Tom


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










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