David Blevins wrote:
> On May 30, 2007, at 4:55 PM, Maarten Th. Mulders wrote:
>
>> Hi all,
>>
>> maybe this is a question you'd answer with "RTFM", but I can't figure
>> it out.
>> I'd like to run OpenEJB with a Derby database connected using JDBC.
>> OpenEJB keeps saying that it can't load the class
>> (ClassNotFoundException),
>> although I added the JAR-file to my $CLASSPATH environment variable.
>> Where should I put the JAR-file containing the Derby JDBC-drivers?
>> Should I
>> specify its existence somewhere?
>
> Put them in the {openejb.home}/lib directory next to the openejb-core jar.
>
> -David
I did, there's a derby.jar which does not contain the class
org.apache.derby.jdbc.ClientDriver. Neither am I sure which class is the
JDBC-driver for network-based connections. I will use the EmbeddedDriver
instead, it seams to work. Thanks anyway.
Regards,
Maarten