persistence@glassfish.java.net

Glassfish Derby DB

From: Roger Kitain <Roger.Kitain_at_Sun.COM>
Date: Thu, 12 Oct 2006 13:55:48 -0400

Hello Mitesh,

I'm not sure if you are the right person to ask... but here goes...

1.I just downloaded and installed:
    glassfish v1 ur1 b14

2. I started the database:
      asadmin start-database

3. I set my CLASSPATH:
    
CLASSPATH=/home/rogerk/work/glassfish/javadb/lib/derbyclient.jar:/home/rogerk/work/glassfish/javadb/lib/derbytools.jar:/home/rogerk/work/glassfish/javadb/lib/derby.jar:.

4. Get into ij:
java -Dij.driver='org.apache.derby.jdbc.ClientDriver'
org.apache.derby.tools.ij

5. I'm at the ij prompt:
   ij>connect
'jdbc:derby://localhost:1527///home/work/glassfish/bin/sun-appserv-samples';
ERROR 08001: No suitable driver


Any ideas? the jars are specified correctly in the CLASSPATH,
ClientDriver.class exists
in /home/rogerk/work/glassfish/javadb/lib/derbyclient.jar ....

-roger