Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 21603 invoked from network); 22 Oct 2003 14:12:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Oct 2003 14:12:56 -0000 Received: (qmail 64064 invoked by uid 500); 22 Oct 2003 14:12:38 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 64035 invoked by uid 500); 22 Oct 2003 14:12:37 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 63978 invoked from network); 22 Oct 2003 14:12:37 -0000 Received: from unknown (HELO mail.lombard.ca) (209.205.38.4) by daedalus.apache.org with SMTP; 22 Oct 2003 14:12:37 -0000 Received: from 10.1.9.222 by mail.lombard.ca with ESMTP (Lombard Canada's SMTP Mail Server (MMS v5.5.3)); Wed, 22 Oct 2003 10:12:32 -0400 To: "Commons HttpClient Project" Subject: RE: Slow execution of POST method MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 Message-ID: From: carmine.lucarelli@lombard.ca Date: Wed, 22 Oct 2003 10:12:32 -0400 X-MIMETrack: Serialize by Router on TORMAILNS12/TORONTO/CIML(Release 5.0.12 |February 13, 2003) at 10/22/2003 10:12:32 AM, Serialize complete at 10/22/2003 10:12:32 AM X-WSS-ID: 13884FDA290707-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for writing that Oleg! Turns out I was using an alpha version of the 2.0. Upgraded to rc2 and all is now well. Should have thought of it myself! Thanks, Carmine "Kalnichevski, Oleg" 10/22/2003 10:02 AM Please respond to "Commons HttpClient Project" To: "Commons HttpClient Project" cc: Fax to: Subject: RE: Slow execution of POST method What version of HttpClient are you using? Oleg -----Original Message----- From: carmine.lucarelli@lombard.ca [mailto:carmine.lucarelli@lombard.ca] Sent: Wednesday, October 22, 2003 15:58 To: commons-httpclient-dev@jakarta.apache.org Subject: Slow execution of POST method Hello all. Let me know if this isn't the list to ask this. I'm using httpclient to execute a POST request to our mainframe CICS region. The request takes 3 to 4 seconds to complete through httpclient and less then one second via a web page and browser. When I look at the log files, I see this: 109 2003-10-22 09:31:06,591 [main] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - enter EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection) 109 2003-10-22 09:31:06,591 [main] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - Expecting response 109 2003-10-22 09:31:06,591 [main] DEBUG org.apache.commons.httpclient.HttpConnection - enter HttpConnection.waitForResponse(int) then there are pages and pages of the following: [main] DEBUG org.apache.commons.httpclient.HttpConnection - enter HttpConnection.responseAvaliable() ...then after a couple seconds worth of log entries, I see: 3123 2003-10-22 09:31:09,605 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Waiting for response timeout 3123 2003-10-22 09:31:09,605 [main] DEBUG org.apache.commons.httpclient.HttpMethod - Response not available. Send the request body This is a non-authenticated POST method with one name/value pair. Have I done something incorrectly here? I simply create the PostMethod, add a NameValue pair and execute it. Thanks, Carmine Lucarelli ------------------------------------------------------------------------------ This email is confidential. If you are not the intended recipient, please notify the sender by return email and delete this message from your mail box without reading or copying it or any attachments. While Lombard Canada Ltd. runs anti-virus software on all servers and all PCs, it cannot be held responsible for any infected files that you may receive. Lombard Canada Ltd. advises all recipients to virus scan any file attachments. ============================================================================== --------------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org