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 9BF30DEC7 for ; Sat, 12 Jan 2013 00:47:03 +0000 (UTC) Received: (qmail 75709 invoked by uid 500); 12 Jan 2013 00:47:03 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 75680 invoked by uid 500); 12 Jan 2013 00:47:03 -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 75673 invoked by uid 99); 12 Jan 2013 00:47:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jan 2013 00:47:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=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.220.44 as permitted sender) Received: from [209.85.220.44] (HELO mail-pa0-f44.google.com) (209.85.220.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jan 2013 00:46:54 +0000 Received: by mail-pa0-f44.google.com with SMTP id hz11so1300510pad.17 for ; Fri, 11 Jan 2013 16:46:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/5o0W39+RMbwm7TxCmkvb7QN690X8TOe8KU484tqlgo=; b=TNngH2XUAz87qSABW+t5goQzgldxrTyd8FORvoz2mKQf3tDZbOsIlmJ2PAatNztqss For4Iz9XU1lAp37VIfjo0MX2JSIAGTdIsxRrzGHxVg4r/3Om2K4843e7fsfK2pshc/NA qZr1tVfSDtHnIaPeM9COpKlz9nFRd2Q/xf4DFIfcZOHGttngVl7aRiz6OJ/UTpyZhMa6 fyx4bOYwDOS5pnL5FBriawLsTLI3cLOmFnz2oqv/v46IjGw274YZmJw5jKwLKpNL7jhJ fY8ZpO9YxktZIJi8KXh0ZHi5UBJBld7+g5TeYMie3yIQbuoetq/PtQk8DSzIx5zuWpiE zL/Q== X-Received: by 10.66.73.138 with SMTP id l10mr211622288pav.44.1357951592856; Fri, 11 Jan 2013 16:46:32 -0800 (PST) Received: from [192.168.0.106] (c-67-170-231-73.hsd1.ca.comcast.net. [67.170.231.73]) by mx.google.com with ESMTPS id w5sm3978499pax.28.2013.01.11.16.46.31 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jan 2013 16:46:32 -0800 (PST) Message-ID: <50F0B1DB.4050900@gmail.com> Date: Fri, 11 Jan 2013 16:44:11 -0800 From: Bryan Pendleton User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Derby Discussion Subject: Re: Create embedded, run via network server: what's databaseName? References: <1357926077817-126389.post@n7.nabble.com> <1357937072073-126400.post@n7.nabble.com> In-Reply-To: <1357937072073-126400.post@n7.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org > What I can't figure out is the name of the database the network client > should connect to, aka the last element of the JDBC URL. The last element is basically the same: it is the path to the database, starting from the network server's derby.system.home location. So if you do: jdbc:derby:my/database/directory/dbname in embedded mode, then you should do: jdbc://my.host.name:NNNN/my/database/directory/dbname Here's a few more examples: http://db.apache.org/derby/docs/10.9/adminguide/radminappsclientxmp.html thanks, bryan