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 178802 - JavaDB is not configured till GlassFish is activated
Summary: JavaDB is not configured till GlassFish is activated
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jiri Rechtacek
: 162669 (view as bug list)
Depends on: 181635
Blocks: 226287
  Show dependency tree
Reported: 2009-12-17 11:29 UTC by Jiri Rechtacek
Modified: 2013-02-18 16:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Screenshot (146.77 KB, image/png)
2010-03-08 10:15 UTC, rbalada

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2009-12-17 11:29:34 UTC
Full NetBeans 6.8 IDE with GlassFish
When I go to Services and right-click on JavaDB and choose Properties, I
expected to see the properties filled in but I see empty fields.
Comment 1 rbalada 2010-03-08 10:15:02 UTC
Created attachment 94870 [details]
Comment 2 Jiri Rechtacek 2010-03-09 02:39:53 UTC
*** Bug 162669 has been marked as a duplicate of this bug. ***
Comment 3 Jiri Rechtacek 2010-03-09 02:42:22 UTC
core-main/rev/ed84ff1edba1 - moved Java DB from java cluster to ide cluster to allow using Java DB for non-java users w/o active java cluster
Registration of Java DB will be solved by automatic registration while installation of NB IDE - issue 181635
Comment 4 Quality Engineering 2010-03-10 23:14:43 UTC
Integrated into 'main-golden', will be available in build *201003110200* on (upload may still be in progress)
User: Jiri Rechtacek <>
Log: #178802: move Java DB to ide cluster, not need to activate java features to start using Java DB, allow to use Java DB out-of-box
Comment 5 Petr Jiricka 2010-03-12 05:04:10 UTC
Still does not work for me in the following scenario:
1. Install NetBeans from the zip file and start with a fresh userdir
2. Go to Window -> Services and add GlassFish v3

I would expect that at this point, the JavaDB location will be initialized using the JavaDB instance in GlassFish, the sample database will be added etc, but it is not. To workaround this, you need to activate the Java EE features (Java SE is not enough), after that JavaDB will be initialized.
Comment 6 Jiri Rechtacek 2010-03-12 05:25:19 UTC
Petr, you are right. It's on half way, rest of solution is waiting to impl. issue 181635.
Comment 7 Jiri Rechtacek 2010-03-18 09:54:02 UTC
The last comment was filed as issue 182284. If using IDE+GF installer, JavaDB is configured directly, not need to activate Java EE anymore. Fixed in NetBeans IDE Dev (Build 201003180200)
Comment 8 Petr Jiricka 2010-03-18 12:49:55 UTC
I confirmed the fix on Mac, installer now correctly registers JavaDB when GlassFish is installed.