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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In