wood burning stoves 2.0*
The moose likes JDBC and the fly likes problem to connect to a derby database... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "problem to connect to a derby database..." Watch "problem to connect to a derby database..." New topic
Author

problem to connect to a derby database...

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
hi

i download a derby database
http://mirrors.cat.pdx.edu/eclipse/birt/downloads/drops/S-R1-S20051110-200511100700/birt-database-S20051110.zip

if you open this file you will find



JDBC driver: Derby Embedded JDBC Driver
Class Location /usr/share/java/derby/derby.jar


if i put for database localtion: /home/collinm/Documents/ets/log720/ClassicModels/derby

i get



Connection to Derby failed
Failed to create database '/home/collinm/Documents/ets/log720/ClassicModels/derby', see the next exception for details.
Directory /home/collinm/Documents/ets/log720/ClassicModels/derby already exist.


if i put: /home/collinm/Documents/ets/log720/ClassicModels/derby/datafiles

i get
Connection to Derby failed
Failed to create database '/home/collinm/Documents/ets/log720/ClassicModels/derby/datafiles', see the next exception for details.
Directory /home/collinm/Documents/ets/log720/ClassicModels/derby/datafiles already exist.


any idea?

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem to connect to a derby database...