hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <o.kalnichev...@dplanet.ch>
Subject Re: posting problem pt 2
Date Wed, 30 Apr 2003 06:21:07 GMT
Kurt,
I assume you are using alpha-3 release which is known to have a few
issues with HTTP POST. Just upgrade to a recent nightly build. If the
problem persists, however, send me the wire log and I'll take it from
there.

Oleg


On Wed, 2003-04-30 at 03:09, Kurt Hobson wrote:
> Howdy- I seem to be suffering from the same HttpClient posting problem
> that was reported by vikram . x . kondadasula
> (http://www.mail-archive.com/commons-httpclient-dev@jakarta.apache.org/m
> sg01216.html). I noticed Oleg posted a recommended fix in the last post
> for that thread (httppost.setHttp11(false);
> ). I tried the fix with my problem, to no avail. I assume it didn't work
> for Vikram either?
>  
> The interesting thing about our problem is that it is only happening
> with the latest Alpha version (release 2 alpha3)... the problem was not
> occurring in a version we were using from (around) 12/9/2002.
>  
> The log file is below; I removed a huge chunk of the "responseAvailable"
> lines... they go on for four minutes.
>  
> Any help would be greatly appreciated!
>  
> 
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpClient ->
> enter HttpClient.startSession(String, int, boolean)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpClient ->
> HttpClient.startSession(String,int,boolean):
> Host:vehiclelocate.mazdausa.com Port:80 HTTPS:false
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpClient ->
> enter HttpClient.executeMethod(HttpMethod)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpClient ->
> enter HttpClient.executeMethod(HostConfiguration,HttpMethod)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> HttpConnectionManager.getConnection:  creating  connection for
> vehiclelocate.mazdausa.com:80 via null:-1 using protocol: http:80
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> HttpConnection.setSoTimeout(300000)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.open()
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.execute(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.Authenticator
> -> enter Authenticator.authenticate(HttpMethod, HttpState)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.Authenticator
> -> enter Authenticator.authenticate(HttpMethod, HttpState, Header,
> String)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> Execute loop try 1
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.processRequest(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> Attempt number 1 to write request
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.generateRequestLine(HttpConnection, String, String,
> String, String)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.print(String)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[])
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[], int, int)
> (2003-04-28 17:00:58) DEBUG httpclient.wire -> >> "POST
> /servlet/ConsumerVehicleInventorySearchServlet HTTP/1.1
> " [\r\n]
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
> (2003-04-28 17:00:58) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> enter
> EntityEnclosingMethod.addRequestHeaders(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.addUserAgentRequestHeaders(HttpState,
> HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> Adding Host request header
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpState ->
> enter HttpState.getCookies()
> (2003-04-28 17:00:58) DEBUG
> org.apache.commons.httpclient.cookie.CookieSpec -> enter
> CookieSpecBase.match(String, int, String, boolean, Cookie[])
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.addAuthorizationRequestHeader(HttpState,
> HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState,
> HttpConnection)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.addContentLengthRequestHeader(HttpState,
> HttpConnection)
> (2003-04-28 17:00:58) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> enter
> EntityEnclosingMethod.getRequestContentLength()
> (2003-04-28 17:00:58) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> enter
> EntityEnclosingMethod.bufferContent()
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.print(String)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[])
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[], int, int)
> (2003-04-28 17:00:58) DEBUG httpclient.wire -> >> "Content-type:
> application/x-www-form-urlencoded
> " [\r\n]
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.print(String)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[])
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[], int, int)
> (2003-04-28 17:00:58) DEBUG httpclient.wire -> >> "User-Agent: Jakarta
> Commons-HttpClient/2.0alpha3
> " [\r\n]
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.print(String)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[])
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[], int, int)
> (2003-04-28 17:00:58) DEBUG httpclient.wire -> >> "Host:
> vehiclelocate.mazdausa.com
> " [\r\n]
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.print(String)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[])
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[], int, int)
> (2003-04-28 17:00:58) DEBUG httpclient.wire -> >> "Content-Length: 117
> " [\r\n]
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.print(String)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[])
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.write(byte[], int, int)
> (2003-04-28 17:00:58) DEBUG httpclient.wire -> >> "Expect: 100-continue
> " [\r\n]
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.writeLine()
> (2003-04-28 17:00:58) DEBUG httpclient.wire -> >> [\r\n]
> (2003-04-28 17:00:58) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> enter
> EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
> (2003-04-28 17:00:58) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> Expecting
> response
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.waitForResponse(int)
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.responseAvaliable()
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.responseAvaliable()
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.responseAvaliable()
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.responseAvaliable()
> (2003-04-28 17:00:58) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.responseAvaliable()
>  (2003-04-28 17:01:01) DEBUG
> org.apache.commons.httpclient.HttpConnection -> enter
> HttpConnection.responseAvaliable()
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.responseAvaliable()
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.responseAvaliable()
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.responseAvaliable()
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpConnection
> -> Waiting for response timeout
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpMethod ->
> Response not available. Send the request body
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter writeRemainingRequestBody(HttpState, HttpConnection)
> (2003-04-28 17:01:01) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> enter
> EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
> (2003-04-28 17:01:01) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> enter
> EntityEnclosingMethod.getRequestContentLength()
> (2003-04-28 17:01:01) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> enter
> EntityEnclosingMethod.bufferContent()
> (2003-04-28 17:01:01) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> enter
> EntityEnclosingMethod.getRequestBody()
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.getRequestOutputStream()
> (2003-04-28 17:01:01) DEBUG
> org.apache.commons.httpclient.methods.EntityEnclosingMethod -> Request
> body sent
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.readResponse(HttpState, HttpConnection)
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpMethod ->
> enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpConnection
> -> enter HttpConnection.readLine()
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpParser ->
> enter HttpConnection.readLine()
> (2003-04-28 17:01:01) DEBUG org.apache.commons.httpclient.HttpParser ->
> enter HttpConnection.readRawLine()
>  


Mime
View raw message