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 64010

Summary: Under Server Resource node, delete JDBC resource fail to unregister the resource
Product: serverplugins Reporter: judytang <judytang>
Component: Sun Appserver 8Assignee: issues@serverplugins <issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description judytang 2005-09-09 21:53:28 UTC
I am using NetBeans 5 (9/7) build, and Appserver 8.1 PE UR2 for testing.

(1) Create a project
(2) At EJB module node, click on Server Resources node -> New -> File ->
Sun Resources - > JDBC Resources
(3) Create JDBC resources select create new JDBC connection pool option,
it creats JDBC resource and pool. 
(4) click on JDBC resource -> register -> to register the jdbc resource 
(5) go to runtime tab, refresh, saw the jdbc resource got registed
(6) click on JDBC resource -> delete -> deletes the resource
(7) go to runtime tab, refresh, still saw the jdbc resource, should the 
resource be unregisted through the delete function ?
Comment 1 Vince Kraemer 2005-09-10 14:39:58 UTC
no. the resource definition is just that; a definition.

If a project has a resource definition at deployment time, the resource is
registered.  If the user registers the resource the resource is created, on the
server, based on that definition.  The user is free to delete the resource
definition from the file system.

The parallel case is a jar file.  The user is free to delete a jar file, that
has been deployed without fear of disabling the deployed EJB contained in it...