Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 24464 invoked from network); 7 Dec 2005 16:41:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 16:41:19 -0000 Received: (qmail 6491 invoked by uid 500); 7 Dec 2005 16:41:17 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 6461 invoked by uid 500); 7 Dec 2005 16:41:16 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 6443 invoked by uid 99); 7 Dec 2005 16:41:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 08:41:16 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [65.195.181.50] (HELO webRack01.Segel.com) (65.195.181.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 08:41:15 -0800 Received: from dbrack01.segel.com (ns2.segel.com [65.195.181.55]) by webRack01.Segel.com (Postfix) with ESMTP id DA537365B9 for ; Wed, 7 Dec 2005 10:40:54 -0600 (CST) From: derby@segel.com Reply-To: msegel@segel.com Organization: MSCC To: "Derby Discussion" Subject: Re: is the network server up ... Date: Wed, 7 Dec 2005 10:41:14 -0600 User-Agent: KMail/1.8.2 References: <43970DAA.4030203@neometsys.fr> In-Reply-To: <43970DAA.4030203@neometsys.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512071041.14781.derby@segel.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Wednesday 07 December 2005 10:28 am, Nicolas Dufour wrote: > Hello > > Im integrating the start of the network server in a program (vb code) > and I dunno when the server is up. > So for the moment I let the application wait for 1-5 seconds to be sure > that derby is up. > But is there a way to know if the server is up ? > > Thank you > > Nicolas Dufour If your VB app is single threaded, then when you start the server, you should be waiting for the server to come up. If you don't wait, what happens?