unable to find line starting with HTTP

2004-09-09 Thread Juan Pedro López Sáez
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

Re: unable to find line starting with HTTP

2004-09-09 Thread Ortwin Glück
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

Re: unable to find line starting with HTTP

2004-09-09 Thread Oleg Kalnichevski
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.

Re: unable to find line starting with HTTP

2004-09-09 Thread Juan Pedro López Sáez
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

Re: unable to find line starting with HTTP

2004-09-09 Thread Oleg Kalnichevski
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 [Bug 29072] - [API Doc] Compile new preference architecture and HTTP parameterization guide

2004-09-09 Thread bugzilla
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 [Bug 29072] - [API Doc] Compile new preference architecture and HTTP parameterization guide

2004-09-09 Thread bugzilla
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.

Re: unable to find line starting with HTTP

2004-09-09 Thread Eric Johnson
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

CommonsHTTPSender 400 Bad Request error...

2004-09-09 Thread Robert Badaracco
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

Re: CommonsHTTPSender 400 Bad Request error...

2004-09-09 Thread Oleg Kalnichevski
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