Steps to reproduce:
1. Go to JDBC Connection Pools and click on DerbyPool.
2. Modify Resource Type to e.g. java.sql.Driver, and enter some bogus Driver Classname. Note that Datasource Classname field got cleared. Save changes.
3. Go again to the DerbyPool and click on Load Defaults - Issue 1: default values for Resource Type and Datasource Classname are not brought back.
4. Change Resource Type back to javax.sql.DataSource and click Save. The following error is displayed:
An error has occurred
Check server log for more information.
Server log contains:
.admingui|_ThreadID=23;_ThreadName=Thread-1;|updateEntity failed. parent='http:
Issue 2: The above does not mention the reason why the Save/Update action failed. We need to communicate this to user.