Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem to connect to a derby database...

 
mark smith
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic