JBoss drops connections and re-connects to database very often

Solution Verified - Updated -

Issue

  • Min-pool-size is set to be the same as the number of max-pool-size. So why does the idleremover make a disconnection when the number of connections in the pool should remain constant.
  • JBoss does not appear to be re-using connections, and is constantly re-connecting to the database. How do I get JBoss to re-use connections?

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3
  • JBoss Enterprise Application Platform (EAP) 5.x

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