Chris wrote:
On 3/10/08, *Narayanan* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> 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