Wednesday, October 29, 2014

Weblogic: Datasource error - Maximum Capacity of Pool


Error Details -

Error An error occurred during activation of changes, please see the log for details.
Error prepareUpdate failed for JDBC Module DSName: Cannot set Maximum Capacity of Pool DSName to (10), this value is lower than the configured Minimum Capacity of the pool (20).
Error Cannot set Maximum Capacity of Pool DSName to (10), this value is lower than the configured Minimum Capacity of the pool (20).

Occurs when -

While trying to activate the datasource connection pool changes (update of Minimum capacity and Maximum capacity), the above error is displayed.

Solution -

1. First make the changes to the Minimum capacity of the connection pool
2. Save and activate the changes
3. Change the Maximum capacity of the connection pool
4. Save and activate the changes
5. Restart the managed server for the changes to take effect

1 comment: