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

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

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


Operating System: All
Platform: All

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

 Description  « Hide


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:

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)

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.

kenaiadmin made changes - 26/Nov/10 12:16 AM
Field Original Value New Value
issue.field.bugzillaimportkey 13927 45531
shaline added a comment - 02/Feb/11 02:45 PM

Verified in promoted b40.

shaline made changes - 02/Feb/11 02:45 PM
Status Resolved [ 5 ] Closed [ 6 ]