Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 60752 invoked from network); 18 Apr 2007 09:16:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Apr 2007 09:16:01 -0000 Received: (qmail 97592 invoked by uid 500); 18 Apr 2007 09:16:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 97564 invoked by uid 500); 18 Apr 2007 09:16:02 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 97553 invoked by uid 99); 18 Apr 2007 09:16:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 02:16:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 02:15:55 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 251DE6BA08 for ; Wed, 18 Apr 2007 10:15:34 +0100 (BST) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qro-z7hKh8gK for ; Wed, 18 Apr 2007 10:15:33 +0100 (BST) Received: from ha-node-br3.hpl.hp.com (ha-node-br3.hpl.hp.com [16.25.144.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colossus.hpl.hp.com (Postfix) with ESMTP id E482A6BA01 for ; Wed, 18 Apr 2007 10:15:32 +0100 (BST) Received: from [16.25.171.182] (chamonix.hpl.hp.com [16.25.171.182]) by ha-node-br3.hpl.hp.com (8.14.1/8.13.4) with ESMTP id l3I9FNmV002611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Apr 2007 10:15:23 +0100 (BST) Message-ID: <4625E1AB.4020900@apache.org> Date: Wed, 18 Apr 2007 10:15:23 +0100 From: Steve Loughran User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Ant Users List Subject: Re: Bug: waitfor waits too long, too slow References: <5C31CE81AAE94248B363EC08539DA92503FBA75F@rsaap-ex-au1.AP.RSA.NET> In-Reply-To: <5C31CE81AAE94248B363EC08539DA92503FBA75F@rsaap-ex-au1.AP.RSA.NET> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Berglas, Anthony wrote: > I'm a Turkey. "dbserver" should be "localhost". Having looked at all > sorts of things, including "telnet localhost", I just did not see it. > > There is in fact no machine called dbserver. It would, of course, be > nice to get a dnslookup error rather than just hang. But that is not > the way that the C-Grade code in operating systems works! I'd have expected an nslookup to fail socket early...you must have an entry in the hosts table or something. Ant 1.7 also has a test, which tries to ping the remote box. > > If Socket could print some sort of message for timeout vs simply no port > listener that would be good, but I suspect that it cannot. I'd have to look at the code. Even if thre is no explicit mention in the return code, the fact that it took 30s to answer should tell the calling thread that it is timeout related. this is something that could be added in the future, at the -verbose logging level. > Thanks for your reply, and sorry to bother you. > no, we like interesting bugs -steve --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org