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) 4, 5, 6

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.