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 153626 - Need support for several Java DB servers
Summary: Need support for several Java DB servers
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 10:45 UTC by Roman Mostyka
Modified: 2016-06-03 06:59 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-11-21 10:45:02 UTC
Now only one Java DB server can be added to the DB explorer. We need to have ability to work with several differents
Java DB servers.
Comment 1 Jiri Rechtacek 2009-10-16 14:04:25 UTC
Reassigned to new owner.
Comment 2 terje7601 2014-09-26 09:38:42 UTC
I would also like the possibility to register multiple Java DB servers, with the possibility to choose one as the default. This default would be used when making "Java DB (Embedded)" connections.

Under properties:

* I would like a combobox on top, containing all registered Java Platforms / Servers. Selecting an entry here, would automatically fill in the Java DB Installation / Database Location properties with reasonable defaults:
for Java Platforms: the Java DB that comes with the JDK + the current default of C:\Users\me\.netbeans-derby
for Servers (in particular GlassFish): the Java DB that comes with GlassFish + the GlassFish default of as-install\databases (where as-install is something like C:\glassfish4\glassfish)

* there should also be a property "Port", allowing to run multiple servers concurrently
Comment 3 terje7601 2016-06-03 06:59:05 UTC
(In reply to terje7601 from comment #2)
> * I would like a combobox on top, containing all registered Java Platforms /
> Servers. Selecting an entry here, would automatically fill in the Java DB
> Installation / Database Location properties with reasonable defaults:
> for Java Platforms: the Java DB that comes with the JDK + the current
> default of C:\Users\me\.netbeans-derby
> for Servers (in particular GlassFish): the Java DB that comes with GlassFish
> + the GlassFish default of as-install\databases (where as-install is
> something like C:\glassfish4\glassfish)

You can ignore the quoted part: Java DB has been removed in Java 9 ( https://bugs.openjdk.java.net/browse/JDK-8080959 ), and - once this issue is fixed - registering a GlassFish server should automatically register its embedded Java DB instance as well.