My Oracle Support Banner

Intermittent java.sql.SQLException IO Errors "Unknown host specified" or "The Network Adapter could not establish the connection" Connecting To Database When Executing ODI Jobs (Doc ID 2274178.1)

Last updated on NOVEMBER 13, 2019

Applies to:

Oracle Data Integrator - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

When executing a Load Plan with Oracle Data Integrator (ODI), the job is intermittently failing with one of the following error message:

Caused by: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:489)
  at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
  at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:234)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
  at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:410)
  ...
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
  at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:398)
  at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:438)
  at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:711)
  at oracle.net.ns.NSProtocol.connect(NSProtocol.java:257)
  at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1229)
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:326)
  ...
Caused by: java.net.ConnectException: Connection timed out: connect
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
  at java.net.Socket.connect(Socket.java:529)
  at oracle.net.nt.MetricsEnabledSocket.connect(TcpNTAdapter.java:631)
  at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:164)
  at oracle.net.nt.ConnOption.connect(ConnOption.java:137)
  at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:374)
  ...

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.