Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61972776E for ; Tue, 9 Aug 2011 13:33:13 +0000 (UTC) Received: (qmail 90727 invoked by uid 500); 9 Aug 2011 13:33:13 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 90650 invoked by uid 500); 9 Aug 2011 13:33:12 -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 90643 invoked by uid 99); 9 Aug 2011 13:33:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 13:33:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bpendleton.derby@gmail.com designates 209.85.213.44 as permitted sender) Received: from [209.85.213.44] (HELO mail-yw0-f44.google.com) (209.85.213.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 13:33:02 +0000 Received: by ywm21 with SMTP id 21so3763887ywm.31 for ; Tue, 09 Aug 2011 06:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=JPbvNnr2tDx802h3ZGgcNTGPIXmGZuxTXs+D9gFPNuU=; b=uGPtXewQLFukzsMTYoOoFPdlxIM8JCQVYtmOiEHUStBkVCfAlnbhIJ3HdEYLL6VY7v F3j1luVFdeoFU8ctlr7a1iaodqCUKYvrOTB99JNeZEUaoJJqllgt1E244f89EmXhPVvZ 38gED7jsk7s7WE3EOzS2A2D/AXoUYO1HHzRy4= Received: by 10.42.105.146 with SMTP id v18mr6198990ico.429.1312896761780; Tue, 09 Aug 2011 06:32:41 -0700 (PDT) Received: from [192.168.0.102] (c-67-170-231-73.hsd1.ca.comcast.net [67.170.231.73]) by mx.google.com with ESMTPS id bq3sm9944888icb.23.2011.08.09.06.32.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 06:32:40 -0700 (PDT) Message-ID: <4E4136F6.7030303@gmail.com> Date: Tue, 09 Aug 2011 06:32:38 -0700 From: Bryan Pendleton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: Derby Discussion Subject: Re: Can't Load Embedded Driver References: <4C4F91EAA81028429D01BCA40BDB438D0C0811@exch2003.Logo.local> In-Reply-To: <4C4F91EAA81028429D01BCA40BDB438D0C0811@exch2003.Logo.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org > the call "jdbc:derby:EMDatabase;create=true"is not a valid call to embedded driver. It is a call to a derby server > correct url should be ( as far as I know) "jdbc:derby:;create=true" No, the server-style URL always has the double slash after the derby:, as in: jdbc:derby://my.host:NNNN/dbname The URL jdbc:derby:EMDatabase;create=true is a valid call to the embedded driver to reference a database named EMDatabase which is located *relative* to derby.system.home. If the portion starts with a leading (single) slash, it is an absolute path name in the filesystem; if it does NOT start with a leading slash, it is a relative path name, interpreted relative to derby.system.home. http://db.apache.org/derby/docs/10.8/devguide/rdevdvlp22102.html#rdevdvlp22102 thanks, bryan