Hello all.
From time to time I'm getting the following exception in my application:
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
Juan,
please take a look at our logging guide:
http://jakarta.apache.org/commons/httpclient/logging.html
Try and get a wirelog of the communication. That will help to track down
the problem.
Cheers
Ortwin Glück
Juan Pedro López Sáez wrote:
Hello all.
From time to time I'm getting the following
Juan,
Most likely it is a server side issue. Take a look at this post. It
should explain the cause of the problem and can help find a fix for it
http://marc.theaimsgroup.com/?l=httpclient-commons-devm=109344163805313w=2
Oleg
On Thu, 2004-09-09 at 10:24, Juan Pedro Lpez Sez wrote:
Hello all.
Hello,
In case it is a server side issue, I would like be sure that the server
hasn't processed my request because I'm posting non idempotent requests.
If I retry the request but the first one was really processed I could be
in troubles.
I guess there is not a simple solution for this.
I
Juan,
There's indeed no easy solution to this problem. There's a whole section
in our new exception handling guide on the issue of the transport safety
and HTTP methods' idempotency. The guide has not been published yet, as
it describes the new exception handling framework in the upcoming
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29072.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29072.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
Juan,
The one technique that I'm aware of for guaranteeing that the server
only processes the request once is to put in some sort of transaction ID
into the request, and the server will reject duplicate requests
(hopefully with an appropriate error message).
In short, it is an application
Hi,
I've been developing my app in WSAD5 and have
successfully deployed it on a Websphere server v5.0.2
running under Windows XP using Axis1.2beta with
CommonsHttpClient2.0.1. When I
deploy it as an EAR to our QA server, which is running
SunOS v5.8 and Websphere 5.0.2 I get the following
Robert,
Status code 400 (Bad request) usually means that the server has rejected
the request as syntactically incorrect. This is very unlikely to be a
problem with HttpClient as such. The problem must be somewhere in the
layers that sit on top of it
Can it be that your application is targeting a
10 matches
Mail list logo