db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narayanan <V.Naraya...@Sun.COM>
Subject Re: Activity 4 Error: No suitable driver found...
Date Tue, 11 Mar 2008 07:34:45 GMT
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

Mime
View raw message