NL Exception was generated at While Establishing Connection To Database

(Doc ID 2245221.1)

Last updated on MARCH 17, 2017

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


While trying to establish JDBC connections to the database, the following exception is received:

java.sql.SQLRecoverableException: IO Error: NL Exception was generatedDSRA0010E: SQL State = 08006, Error Code = 17,002
at oracle.jdbc.driver.T4CConnection.logon(
at oracle.jdbc.driver.PhysicalConnection.(
at oracle.jdbc.driver.T4CConnection.(
at oracle.jdbc.driver.T4CDriverExtension.getConnection(
at oracle.jdbc.driver.OracleDriver.connect(
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(
at oracle.jdbc.pool.OracleDataSource.getConnection(
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(

Caused by: NL Exception was generated
at oracle.jdbc.driver.T4CConnection.connect(
at oracle.jdbc.driver.T4CConnection.logon(


A firewall exists between the application and the database.


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