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 79412 - it is possible to connect to db if connection is not valid anymore
Summary: it is possible to connect to db if connection is not valid anymore
Status: RESOLVED WONTFIX
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 10:54 UTC by Lukasz Grela
Modified: 2006-06-30 09:41 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 Lukasz Grela 2006-06-29 10:54:52 UTC
1) install glasfish
2) the connection node to sample db from glasfish is available 
3) change java db location to another db instance
4) start from ide this new instance
5) it is possible using this available connection to glassfish to connect to db
- no data is available but it should't
Comment 1 Andrei Badea 2006-06-30 09:41:48 UTC
As designed. When you connect to a database which doesn't exist in the new
database location (Derby system home) you get a message telling you that you are
connecting to a database which was not found.

Note we should not remove invalid connections on localhost:1527 when changing
the system home as we are not sure the server running on localhost:1527 is the
GlassFish one -- so we could remove connections which are actually valid.