This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 192066 - [70cat][database] Unable to create database using JavaDB and rake db:create
Summary: [70cat][database] Unable to create database using JavaDB and rake db:create
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Rake (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 18:00 UTC by esmithbss
Modified: 2011-01-28 20:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-11-17 18:00:01 UTC
Product Version = NetBeans IDE Dev (Build 201011160001)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

When attempting to create a simple test project (following the rapid-ruby-weblog tutorial) I am unable to create the database using the rake db:create call.	The call appears to be made, but the database is not created and there are no errors returned.

Steps to reproduce
1) Create a new Rails project using the built-in JRuby SDK and the JavaDB.
2) Modify your config/database.yml to include the following for the development database

development:
  adapter: jdbc
  driver: org.apache.derby.jdbc.ClientDriver
  url: jdbc:derby://localhost:1527/ActiveRecordSample_development
  user: test
  password: test

3) Issue the Rake command "rake db:create"

At this point, the db:create process dialog appears indicating it is running; however, no database is created.  Only derby.log and derby.properties file appear.
Comment 1 esmithbss 2010-11-17 18:00:35 UTC
At no point does the system display an error to the user indicating a problem with the configuration, or the database creation.