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

SA-36873

Summary



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.

Resolution



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:

testOnBorrow="true"
testOnConnect="true"
testOnReturn="true"
testWhileIdle="true"
validationQuery="select 1"



2. Add below entries in PRConfig.xml:

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

Published December 18, 2017 - Updated October 8, 2020

Was this useful?

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.

Did you find this content helpful?

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