• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem to connect to a derby database...

 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic