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 69109 - Remove AS action should return back Derby Location
Summary: Remove AS action should return back Derby Location
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 15:02 UTC by Martin Schovanek
Modified: 2007-02-06 17:24 UTC (History)
1 user (show)

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 Martin Schovanek 2005-11-22 15:02:46 UTC
[#200511211900, jdk1.5.0]

When the AS 8.2 is removed from Nb with already installed Derby from UC, the
Derby folder from UC should be used as 'Derby Location' and 'Driver File(s)'
location. Otherwise, after the AS uninstallation, it will lead to broken Derby
drivers registration.

Logicaly rollback the changes described in issue 69094.
Comment 1 _ ludo 2005-11-22 17:14:27 UTC
When you say 'remove', do you mean you unregister the server instance, but you
do not uninstall the AS 8.2 bits from disk?

If it's only unregister, the user might still want to use the very db from the
AS 8.2 bits, without working with a server instance...No?
Comment 2 Martin Schovanek 2005-11-22 17:47:45 UTC
I would not expect that user which registered both Derbyy, then kick off the AS,
wants to use the AS Derby installation :-). But if you ensure that after AS
uninstaltion the drivers registration will be fixed I don't have proble with
such behaviour.
Comment 3 _ ludo 2005-11-23 16:47:31 UTC
no Derby on AU, so either we unregister the as8.2 derby implementation when the
last  AS8.2 or AS 9.0 server domain is unregistered from the IDE, or I would
prefer we keep it until the App server is physically unistalled .
What do you think?
Comment 4 Martin Schovanek 2005-11-24 09:21:34 UTC
It does not depend on AU. It is reproducible with manually downloaded/registered
Derby.

We can keep the AS Derby .jars until the App server is physically unistalled,
but how Nb identify that the AS was physically unistalled?

Unregistration the AS8.2 derby implementation when the last AS8.2 or AS 9.0
server domain is unregistered from the IDE sounds much easier to me.
Comment 5 _ ludo 2005-11-24 21:34:46 UTC
The plugin does not change any more the derby home if it is already set.
So a sequence of adding/removing an 8.2 server, if derby is already configured
will be a nop.
Comment 6 Martin Schovanek 2007-02-06 17:24:03 UTC
v.