Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 49669 invoked from network); 22 Apr 2005 09:11:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Apr 2005 09:11:26 -0000 Received: (qmail 21929 invoked by uid 500); 22 Apr 2005 09:11:46 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 21884 invoked by uid 500); 22 Apr 2005 09:11:46 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 21870 invoked by uid 99); 22 Apr 2005 09:11:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of trustin@gmail.com designates 64.233.184.195 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.195) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 22 Apr 2005 02:11:45 -0700 Received: by wproxy.gmail.com with SMTP id 70so996833wra for ; Fri, 22 Apr 2005 02:11:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iQ2FBG4e2L7EMb0k520/5nF4ZDWXgHu3XWjOvtbtJGRSikxCCsGzNRARKdM0PArIC1pp5OeD5BHsTIfciy1ZO11OF7qbsUKrhOFxuDuGEgrAmvUkpTTcdR4uJ77046Xqe2qdU8bsHMpyX65BphHrr19mIBLFR+Niz9pMQcdtjAw= Received: by 10.54.32.44 with SMTP id f44mr368672wrf; Fri, 22 Apr 2005 02:11:22 -0700 (PDT) Received: by 10.54.70.20 with HTTP; Fri, 22 Apr 2005 02:11:22 -0700 (PDT) Message-ID: <768dcb2e05042202114b00f50e@mail.gmail.com> Date: Fri, 22 Apr 2005 18:11:22 +0900 From: Trustin Lee Reply-To: Trustin Lee To: Vinod Panicker , Apache Directory Developers List Subject: Re: [mina] Strange problem when SocketConnector connects with local address specified In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <768dcb2e05042105164ce7fe4d@mail.gmail.com> <768dcb2e05042123421f41d8c6@mail.gmail.com> <768dcb2e050422000878c914ef@mail.gmail.com> <768dcb2e0504220018f16f0b4@mail.gmail.com> <768dcb2e05042201465ecd0336@mail.gmail.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, 2005/4/22, Vinod Panicker : > The problem seems to be the same - port in TIME_WAIT/ESTABLISHED state. >=20 > Even I tried using the DefaultSessionInitializer with the reuseaddress > set to true, but to no avail. What i'm trying now is using different > ports for each acceptor and connector. DefaultSessionInitializer sets KEEP_ALIVE and REUSE_ADDR to true by default, and therefore you don't need to set those properties. The most stange thing is BindException is not thrown when socket().bind() is called. It is thrown from finishConnect(). Thanks, Trustin >=20 > Regards, > Vinod. >=20 > On 4/22/05, Trustin Lee wrote: > > Hi, > > > > 2005/4/22, Vinod Panicker : > > > Hi Trustin, > > > > > > Now the test failed. > > > > That's why I skipped the test for SocketConnector. I don't have any > > clues for now. Any ideas? > > > > Trustin > --snip-- >=20 --=20 what we call human nature is actually human habit -- http://gleamynode.net/