<< Back to previous view

[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
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


File Attachments: Text File server.log.deletejdbcConPool    
Issuezilla Id: 12,726
Tags:
Participants: Anissa Lam, lidiam, shaline and sumasri

 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 04:31 PM ]

Created an attachment (id=4596)
server.log

Comment by Anissa Lam [ 23/Jul/10 10:56 PM ]

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 12:08 AM ]

Fixed it.

Comment by shaline [ 01/Feb/11 07:06 PM ]

Verified in promoted b40.

Generated at Thu Apr 17 08:33:38 UTC 2014 using JIRA 4.0.2#472.