Getting "java.sql.SQLRecoverableException: IO Error: Got minus one from a read call" on JBoss EAP.

Solution Verified - Updated -


Getting "Got minus one from a read call" error while trying to connect to the datasource.

Caused by: java.sql.SQLRecoverableException: IO Error: Got minus one from a read call
    at oracle.jdbc.driver.T4CConnection.logon(
    at oracle.jdbc.driver.PhysicalConnection.<init>(
    at oracle.jdbc.driver.T4CConnection.<init>(
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(
    at oracle.jdbc.driver.OracleDriver.connect(
    at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection( [ironjacamar-jdbc-1.0.11.Final-redhat-1.jar:1.0.11.Final-redhat-1]
    ... 30 more
 Caused by: Got minus one from a read call
    at oracle.jdbc.driver.T4CConnection.connect(
    at oracle.jdbc.driver.T4CConnection.logon(
    ... 35 more


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
    • 7.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