java.sql.SQLException Error Code: 17002 and IO exception: Got minus one from a read call When Establishing Connection Using Oracle JDBC Driver (Doc ID 763837.1)

Last updated on JULY 07, 2017

Applies to:

JDBC - Version 10.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 07-May-1012***

Symptoms

Trying to establish a connection from DbVisualizer using JDBC Thin against an Oracle Server fails with:

An error occurred while establishing the connection.
Type: java.sql.SQLException Error Code: 17002
Message:
Io exception: Got minus one from a read call



The same error is obtained from other JDBC applications, not only DBVisualizer.

Listener.log shows the following errors:


26-JAN-2009 16:35:34 * (CONNECT_DATA=(SID=EPICDEV)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) *
(ADDRESS=(PROTO =tcp)(HOST=<ip>)(PORT=64367)) * establish * EPICDEV * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 32: Broken pipe

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms