Issue Details (XML | Word | Printable)

Key: GLASSFISH-13927
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Anissa Lam
Reporter: lidiam
Votes: 0
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
glassfish

Node Tree: jdbc resource not deleted when pool deleted

Created: 11/Oct/10 07:39 PM   Updated: 02/Feb/11 02:45 PM   Resolved: 13/Oct/10 09:46 PM
Component/s: admin_gui
Affects Version/s: 3.1
Fix Version/s: 3.1_b25

Time Tracking:
Not Specified

File Attachments: 1. JPEG File tree-resourceerror.JPG (65 kB) 11/Oct/10 07:40 PM - lidiam

Environment:

Operating System: All
Platform: All


Issuezilla Id: 13,927
Tags:
Participants: Anissa Lam, kenpaulsen, lidiam and shaline


 Description  « Hide

build: glassfish-3.1-b24-10_10_2010.zip

Create a JDBC pool, e.g. called y, and a jdbc resource using this pool, e.g.
called z. Node tree is updated properly (though it takes time). Delete the
pool - message is displayed saying that all the resources depending on this pool
will also be deleted, click OK. The pool is removed from the nodes tree, but
the resource is not. When you click on that resource node the following
exception is printed:

exception
javax.servlet.ServletException: Target Unreachable, 'null' returned null

Once user clicks on JDBC Resources node, the tree underneath is updated to
reflect the deleted resource.



lidiam added a comment - 11/Oct/10 07:40 PM

Created an attachment (id=5122)
screenshot


kenpaulsen added a comment - 13/Oct/10 08:38 PM

Anissa and I looked at this together. She has a fix for this + a fix for images
/ expanded state not being preserved. I am transferring this to her so she can
resolve this as soon as her changes are committed. -Ken


Anissa Lam added a comment - 13/Oct/10 09:46 PM

Instead of admingui.nav.refreshTree() for just the JDBC connection pool, refresh
starting from the JDBC nodes.

While fixing this, also realize the connectors connection pool will have similar
issue, fixed that as well.

Also notice that the state of the tree node is not preserved, ie, collapsed or
expanded, fixed that as well.


shaline added a comment - 02/Feb/11 02:45 PM

Verified in promoted b40.