Skip to main content
This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Not returning connection 0 for database "pegadata" to the pool



Frequent Connection pool exceptions in the logs with Pega 7.2.

Error Messages

Not returning connection 0 for database "pegadata" to the pool

Steps to Reproduce

Not Applicable

Root Cause

Number of available connections are insufficient.


Make the following change to the operating environment:

1. Insert the following attributes into the Resource element for the jdbc/PegaRULES connection

Not returning connection 0 for database "pegadata" to the pool as it previously encountered the following error:

validationQuery="select 1"

2. Add below entries in PRConfig.xml:

<env name="classmap/usemergestatement" value ="false" />
<env name="database/batchupdates" value="-1" />

Suggest Edit

Published December 18, 2017 - Updated October 8, 2020

Did you find this article helpful?
Did you find this content helpful? Yes No

66% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us