From derby-user-return-13857-apmail-db-derby-user-archive=db.apache.org@db.apache.org Tue Aug 9 20:31:19 2011 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 42DBE74E4 for ; Tue, 9 Aug 2011 20:31:19 +0000 (UTC) Received: (qmail 14692 invoked by uid 500); 9 Aug 2011 20:31:18 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 14586 invoked by uid 500); 9 Aug 2011 20:31:18 -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 14575 invoked by uid 99); 9 Aug 2011 20:31:17 -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 20:31:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of roy.minet@comcast.net designates 76.96.59.228 as permitted sender) Received: from [76.96.59.228] (HELO qmta15.westchester.pa.mail.comcast.net) (76.96.59.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 20:31:09 +0000 Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by qmta15.westchester.pa.mail.comcast.net with comcast id JKPJ1h00327AodY5FLWovx; Tue, 09 Aug 2011 20:30:48 +0000 Received: from sz0138.wc.mail.comcast.net ([76.96.58.202]) by omta19.westchester.pa.mail.comcast.net with comcast id JLWo1h00H4MnWwC3fLWoVA; Tue, 09 Aug 2011 20:30:48 +0000 Date: Tue, 9 Aug 2011 20:30:48 +0000 (UTC) From: Roy.Minet@comcast.net To: Derby Discussion Message-ID: <2024352035.449109.1312921848538.JavaMail.root@sz0138a.westchester.pa.mail.comcast.net> In-Reply-To: <4E414F36.6090702@oracle.com> Subject: Re: Can't Load Embedded Driver MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_449108_1946524582.1312921848537" X-Originating-IP: [174.54.64.45] X-Mailer: Zimbra 6.0.10_GA_2706 (ZimbraWebClient - IE8 (Win)/6.0.10_GA_2697) X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_449108_1946524582.1312921848537 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Duh.=C2=A0 That certainly looks like it would be the problem.=C2=A0 It had = to be something pretty gross and stupid.=C2=A0 That will lead me to a bette= r place on deployment.=C2=A0 I'll deploy a derby .jar alongside mine and re= ference it there instead of being dependent on some separate installation.= =20 Thank you all for your patience and kind attention.=C2=A0 Sorry to have bot= hered you.=20 ----- Original Message ----- From: "Rick Hillegas" =20 To: "Derby Discussion" =20 Sent: Tuesday, August 9, 2011 11:16:06 AM=20 Subject: Re: Can't Load Embedded Driver=20 On 8/9/11 7:50 AM, Bryan Pendleton wrote:=20 >> C:\WINDOWS\SYSTEM32\java.exe -splash:EMsplash.jpg -jar "C:\Program=20 >> Files\ElectionManager\EMServer.jar"=20 >=20 > Not sure if this is the problem, but I believe that if you use '-jar' on= =20 > your command line, then CLASSPATH is ignored, and ALL the classes have to= =20 > come from the jar, right?=20 >=20 > thanks,=20 >=20 > bryan=20 >=20 >=20 That agrees with the description of "java -jar" here:=20 http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html= =20 The jar file manifest needs to have a Class-Path attribute which lists=20 the whole classpath for the application. See=20 http://download.oracle.com/javase/tutorial/deployment/jar/downman.html=20 Hope this helps,=20 -Rick=20 ------=_Part_449108_1946524582.1312921848537 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Arial; font-size: 12pt; color: #000000'>

Duh.&n= bsp; That certainly looks like it would be the problem.  It had to be = something pretty gross and stupid.  That will lead me to a better plac= e on deployment.  I'll deploy a derby.jar alongside mine and reference= it there instead of being dependent on some separate installation.

Thank you all for your patience and kind attention.  Sorry to have = bothered you.


From: "Rick Hillegas" <rick.hillegas@oracle.com>
To: = "Derby Discussion" <derby-user@db.apache.org>
Sent: Tue= sday, August 9, 2011 11:16:06 AM
Subject: Re: Can't Load Embedded= Driver

On 8/9/11 7:50 AM, Bryan Pendleton wrote:
>> C:\WIN= DOWS\SYSTEM32\java.exe -splash:EMsplash.jpg -jar "C:\Program
>> F= iles\ElectionManager\EMServer.jar"
>
> Not sure if this is the = problem, but I believe that if you use '-jar' on
> your command line,= then CLASSPATH is ignored, and ALL the classes have to
> come from t= he jar, right?
>
> thanks,
>
> bryan
>
>= ;
That agrees with the description of "java -jar" here:
http://downl= oad.oracle.com/javase/6/docs/technotes/tools/windows/java.html

The j= ar file manifest needs to have a Class-Path attribute which lists
the w= hole classpath for the application. See
http://download.oracle.com/java= se/tutorial/deployment/jar/downman.html

Hope this helps,
-Rick

------=_Part_449108_1946524582.1312921848537--