Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 21589 invoked from network); 11 Mar 2008 21:36:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2008 21:36:28 -0000 Received: (qmail 97712 invoked by uid 500); 11 Mar 2008 21:36:24 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 97684 invoked by uid 500); 11 Mar 2008 21:36:24 -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 97673 invoked by uid 99); 11 Mar 2008 21:36:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 14:36:24 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jesdisciple@gmail.com designates 64.233.182.191 as permitted sender) Received: from [64.233.182.191] (HELO nf-out-0910.google.com) (64.233.182.191) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 21:35:48 +0000 Received: by nf-out-0910.google.com with SMTP id d3so1138310nfc.15 for ; Tue, 11 Mar 2008 14:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=50vM9Y1rS7MEY2vPW6+J2p+jnAl9W5pDIFLd1sx6VsU=; b=tgQzFHOsMysGAc/s2Rn/3IULmA3x6D6lKWn7YOttEwGqkhMlDfrmV43A7KQr9gUoMp+tSFduS7pJJHuo8pYZtyLFRA86nPE5IdJBZHZNvIB1vmpjaS2zXbzZiInFIvIML6UxsLcuNfkNnHBpY8eY7blimOozjhjvLNBLLX/LycY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AKGmNdL81/9KCn5uN7g383XueadZZNssPYYAEIhFxxvn3ul94r7MFFpZwgJRCZl45e/KAvm7CN1+UA4NBRpWJ/wUxjGt2upTXThe8twDip6C9Za9uovIwXsSEWyxR8PqqZeH5Pw0P/pfuEcyKYPGH2v1Sj9tHjB6r37Q4JaqeK4= Received: by 10.78.146.11 with SMTP id t11mr19305681hud.71.1205271355445; Tue, 11 Mar 2008 14:35:55 -0700 (PDT) Received: by 10.78.160.13 with HTTP; Tue, 11 Mar 2008 14:35:54 -0700 (PDT) Message-ID: Date: Tue, 11 Mar 2008 16:35:54 -0500 From: Chris To: "Derby Discussion" Subject: Re: Activity 4 Error: No suitable driver found... In-Reply-To: <47D63615.6050407@sun.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2938_8177271.1205271355447" References: <47D4CAE5.8020508@sun.com> <47D63615.6050407@sun.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2938_8177271.1205271355447 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline That doesn't make any sense to me, but it worked. I thought it just meant the directory when it said "the location of the file". Thanks! On Tue, Mar 11, 2008 at 2:34 AM, Narayanan wrote: > Chris wrote: > > On 3/10/08, *Narayanan* > > wrote: > > > > you are basically trying to run derby in the client/server mode of > > operation. > > > > You need to have derbyclient.jar in your classpath. > > > > You also need to start the derby network server > > > > You can find instructions on starting the derby network server here > > > > http://db.apache.org/derby/docs/dev/adminguide/tadmincbdjhhfd.html > > > > > > Narayanan > > > > > > Sorry, I didn't start from the beginning last time... (DERBY_HOME = > > C:\wamp\derby) > > > > java -jar %DERBY_HOME%\lib\derbyrun.jar server start > > Security manager installed using the Basic server security policy. > > Apache Derby Network Server - 10.3.2.1 - (599110) > > started and ready to accept connections on port 1527 at 2008-03-10 > > 20:00:20.343 GMT > > > > echo %CLASSPATH% > > .;C:\Program > > > Files\Java\jre1.6.0_01\lib\ext\QTJava.zip;C:\wamp\derby\lib;C:\wamp\derby\bin;C:\Program > > Files\Java\jdk1.6.0_03\bin > > > > echo %PATH% > > *** too long, the important part is: C:\wamp\derby\bin; *** > > > > java WwdClient > > > > >>> Please check your CLASSPATH variable <<< > > > > . . . exception thrown: > > > > ---SQLException Caught--- > > > > SQLState: 08001 > > Severity: 0 > > Message: No suitable driver found for > > jdbc:derby://localhost:1527/jdbcDemoDB;create=true > > Getting Started With Derby JDBC program ending. > You have C:\wamp\derby\lib in your classpath. I think you need to have > C:\wamp\derby\lib\derbyclient.jar. > > Narayanan > -- In ALL things, strive for ><>, Chris ------=_Part_2938_8177271.1205271355447 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline That doesn't make any sense to me, but it worked.  I thought it just meant the directory when it said "the location of the file".

Thanks!

On Tue, Mar 11, 2008 at 2:34 AM, Narayanan <V.Narayanan@sun.com> wrote:
Chris wrote:
> On 3/10/08, *Narayanan* <V.Narayanan@sun.com
> <mailto:V.Narayanan@sun.com>> wrote:
>
>     you are basically trying to run derby in the client/server mode of
>     operation.
>
>     You need to have derbyclient.jar in your classpath.
>
>     You also need to start the derby network server
>
>     You can find instructions on starting the derby network server here
>
>     http://db.apache.org/derby/docs/dev/adminguide/tadmincbdjhhfd.html
>
>
>     Narayanan
>
>
> Sorry, I didn't start from the beginning last time...  (DERBY_HOME =
> C:\wamp\derby)
>
> java -jar %DERBY_HOME%\lib\derbyrun.jar server start
> Security manager installed using the Basic server security policy.
> Apache Derby Network Server - 10.3.2.1 <http://10.3.2.1> - (599110)
> started and ready to accept connections on port 1527 at 2008-03-10
> 20:00:20.343 GMT
>
> echo %CLASSPATH%
> .;C:\Program
> Files\Java\jre1.6.0_01\lib\ext\QTJava.zip;C:\wamp\derby\lib;C:\wamp\derby\bin;C:\Program
> Files\Java\jdk1.6.0_03\bin
>
> echo %PATH%
> *** too long, the important part is: C:\wamp\derby\bin; ***
>
> java WwdClient
>
> >>> Please check your CLASSPATH variable <<<
>
> . . . exception thrown:
>
> ---SQLException Caught---
>
> SQLState: 08001
> Severity: 0
> Message: No suitable driver found for
> jdbc:derby://localhost:1527/jdbcDemoDB;create=true
> Getting Started With Derby JDBC program ending.
You have C:\wamp\derby\lib in your classpath. I think you need to have
C:\wamp\derby\lib\derbyclient.jar.

Narayanan



--
In ALL things, strive for ><>,
Chris ------=_Part_2938_8177271.1205271355447--