[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 642
  • Last Modified:

Java: Derby: create new db fails, why?

Hello Experts,

I am trying to connect to Derby, but when the wizard fails to create db... no sure why... below are the steps I took to create new profile:

1. Data Source Explorer -> right click new
2. under connection profile, selected Derby, next
3. Under driver, Derby Embedded JDBC Driver, made sure the derby.jar had the right path, and properties were pointing to an empty directory
4. Selected: create new db, save password....

then, I get error below:
Could not connect to siplog.
Error creating SQL Model Connection connection to siplog. (Error: Failed to create database 'C:\JAVA\siplog', see the next exception for details.)
Failed to create database 'C:\JAVA\siplog', see the next exception for details.
Error creating JDBC Connection connection to siplog. (Error: Failed to create database 'C:\JAVA\siplog', see the next exception for details.)
Failed to create database 'C:\JAVA\siplog', see the next exception for details.

Any ideas what I should check?

In advance, thank you for all your help...
0
epifanio67
Asked:
epifanio67
  • 2
1 Solution
 
CEHJCommented:
Do you have permissions to write to that directory?
0
 
epifanio67Author Commented:
Thank you CEHJ...

Regards,
0
 
CEHJCommented:
:)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now