From httpclient-user-return-4480-apmail-jakarta-httpclient-user-archive=jakarta.apache.org@jakarta.apache.org Mon Nov 12 08:13:23 2007 Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 81182 invoked from network); 12 Nov 2007 08:13:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2007 08:13:23 -0000 Received: (qmail 23292 invoked by uid 500); 12 Nov 2007 08:13:10 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 23279 invoked by uid 500); 12 Nov 2007 08:13:10 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 23268 invoked by uid 99); 12 Nov 2007 08:13:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 00:13:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hezjing@gmail.com designates 64.233.162.230 as permitted sender) Received: from [64.233.162.230] (HELO nz-out-0506.google.com) (64.233.162.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 08:13:14 +0000 Received: by nz-out-0506.google.com with SMTP id l8so735525nzf for ; Mon, 12 Nov 2007 00:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=vGt1wNaB1jdXfn3T3IiCcaDrnexP4pjFWFPkfZR5CZg=; b=swpzLN2/vVXcg6gM43g6h9lNNA8V60+JJpFmw4HzPGJvKWuesD8/CbkeWHy2silFdSkR833ML03KW4gWNENavoZMMIiQt14D5HVklV9pno2vUF4Qblh0JTeKE/RhemROPsoOEDa6PshUaZLcP7YVeyDOvLabVGQWaV7L7fTsO40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HjaIU6HtrIkXXGCaZiNRRFy1Yn2a8EICa/r3zQQocPk35BUcGNWSJsqatQHzN3fM3RlprUIfo/S/MrUIfbP8uu1nClcoJtfxG//aiyggPA67PkhlJZk4CfnU787nvOLhNZQGeMoYiTvNE5h2yuUv1I2J12Qa3sinS8c79RCYIF4= Received: by 10.142.217.17 with SMTP id p17mr861410wfg.1194855172821; Mon, 12 Nov 2007 00:12:52 -0800 (PST) Received: by 10.143.160.12 with HTTP; Mon, 12 Nov 2007 00:12:52 -0800 (PST) Message-ID: Date: Mon, 12 Nov 2007 16:12:52 +0800 From: hezjing To: httpclient-user@jakarta.apache.org Subject: Address already in use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi I'm using HttpClient 3.1, my program spawn multiple threads and keep sending HTTP's GET to the web server and got the following exception: Nov 12, 2007 4:06:30 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.BindException) caught when processing request: Address already in use May I know how to resolve this problem? How can the HttpClient reuse the address? -- Hez --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org