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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content