[GLASSFISH-12726] Error when deleting JDBC pool with dependent resources Created: 19/Jul/10  Updated: 01/Feb/11  Resolved: 30/Aug/10

Status: Closed
Project: glassfish
Component/s: admin_gui
Affects Version/s: 3.1
Fix Version/s: 3.1_ms04

Type: Bug Priority: Major
Reporter: lidiam Assignee: sumasri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File server.log.deletejdbcConPool    
Issuezilla Id: 12,726

 Description   

build: b10

The following error is printed when attempting to delete a JDBC connetion pool
with a dependent resources:

An error has occurred
DELETE
http://localhost:4848/management/domain/resources/jdbc-connection-pool/my?cascade=false
returned a response status of 400

Steps to reproduce:
1. Create a JDBC Connetion Pool, e.g. MyPool
2. Create a JDBC Resource that uses MyPool, e.g. MyResource.
3. Attempt to delete MyPool - a prompt is displayed warning that dependent
resources will be deleted, however after clicking OK the above error is displayed.



 Comments   
Comment by lidiam [ 19/Jul/10 ]

Created an attachment (id=4596)
server.log

Comment by Anissa Lam [ 23/Jul/10 ]

I think in v2, we delete the resources and then the connection pool.
After fixing, please add a dev test for this.
thanks

Comment by sumasri [ 30/Aug/10 ]

Fixed it.

Comment by shaline [ 01/Feb/11 ]

Verified in promoted b40.

Generated at Mon Feb 08 15:57:53 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.