Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 84128 invoked from network); 4 Oct 2005 21:27:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2005 21:27:42 -0000 Received: (qmail 86749 invoked by uid 500); 4 Oct 2005 21:27:42 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 86424 invoked by uid 500); 4 Oct 2005 21:27:41 -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 86413 invoked by uid 99); 4 Oct 2005 21:27:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 14:27:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.36] (HELO brmea-mail-4.sun.com) (192.18.98.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 14:27:44 -0700 Received: from phys-epost-1 ([129.159.136.14]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j94LRIvD017391 for ; Tue, 4 Oct 2005 15:27:18 -0600 (MDT) Received: from conversion-daemon.epost-mail1.sweden.sun.com by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0INU00601SW07Q@epost-mail1.sweden.sun.com> (original mail from Oystein.Grovlen@Sun.COM) for derby-user@db.apache.org; Tue, 04 Oct 2005 23:27:18 +0200 (MEST) Received: from clustra.norway.sun.com.sun.com (clustra.Norway.Sun.COM [129.159.119.10]) by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0INU00672U9H6D@epost-mail1.sweden.sun.com> for derby-user@db.apache.org; Tue, 04 Oct 2005 23:27:18 +0200 (MEST) Date: Tue, 04 Oct 2005 23:27:17 +0200 From: Oystein.Grovlen@Sun.COM (=?iso-8859-1?q?=D8ystein_Gr=F8vlen?=) Subject: Re: transient priviledgeException In-reply-to: <02f29e1edfe80e671e61cf73dd6be2d7@sun.com> To: Derby Discussion Message-id: MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 Lines: 25 References: <02f29e1edfe80e671e61cf73dd6be2d7@sun.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >>>>> "XV" == Xavier Vigouroux writes: XV> Hi, XV> I have a transient priviledgeException when connection to the DB with XV> ij. XV> here is the scenario: XV> 1/ I start an embeddedServer XV> 2/ wait for the ping() be ok (tested in the JVM creating the server) XV> 3/ start ij to create a schema. XV> then in 4, I get a transient error...i.e if I retry it works. XV> what should I wait for to be sure the server is ready to recieve cmd? I checked the implementation of ping(), and it seems to only check that it is able to get in touch with the network server. It does not try to get a connection to a database. Does anyone have any suggestion for how Xavier can determine that the server is ready to create a database? -- �ystein