Connection Pool statistics look low and database shows more than expected connections

Solution Verified - Updated -

Issue

  • JDBC connection leak
  • apps are closing connections properly still lot of inactive session at DB side
  • causing slow performance and eventually bringing down the application and DB
  • Datasource statistics ActiveCount is dramatically different from the open connections as reported by the database server
  • JBJCA-1276
    • Prefill race condition in flush

Environment

  • Red Hat JBoss Enterprise Application Platform prior to 6.4.5
  • prefill=true as defined in
    • jboss-as-datasources_1_1.xsd
    • jboss-as-datasources_1_2.xsd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.