Reserved connections are not validated by JBoss EAP

Solution Verified - Updated -

Issue

  • Fault tolerance/connection validation1 has been configured for an EAP datasource pool
  • A connection was obtained by calling DataSource.getConnection()
  • A failed connection exception is raised when the connection is used
    • java.sql.SQLRecoverableException: Closed Connection
    • java.sql.SQLRecoverableException: No more data to read from socket
    • java.net.SocketException: Broken pipe
    • etc.

  1. See fault tolerance in EAP 4/5 for older releases ↩︎

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6
    • 5
    • 4

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