My Oracle Support Banner

ODI Connection Test to GoldenGate JAgent Data Server Fails with "java.net.NoRouteToHostException: No route to host (Host unreachable)" (Doc ID 2632465.1)

Last updated on JANUARY 31, 2020

Applies to:

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

Symptoms

When testing an Oracle Data Integrator (ODI) data server from one machine to an Oracle Golden Gate (OGG) JAgent on another machine, the test fails with the following error message:

Error occurred testing connection to dataserver with agent OracleDIAgent1[[
ODI-1592: Error occurred testing connection to dataserver with agent OracleDIAgent1
Caused By: oracle.odi.core.exception.OdiRuntimeException: java.rmi.ConnectIOException: Exception creating connection to: <OGG_MACHINE>; nested exception is:
java.net.NoRouteToHostException: No route to host (Host unreachable)
   at oracle.odi.runtime.agent.processor.impl.TestDataServerProcessor$1.doAction(TestDataServerProcessor.java:286)
   at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:173)
   at oracle.odi.runtime.agent.processor.impl.TestDataServerProcessor.doProcessRequest(TestDataServerProcessor.java:127)
   at oracle.odi.runtime.agent.processor.SimpleAgentRequestProcessor.process(SimpleAgentRequestProcessor.java:49)
   at oracle.odi.runtime.agent.support.DefaultRuntimeAgent.execute(DefaultRuntimeAgent.java:68)
  ...
Caused by: java.rmi.ConnectIOException: Exception creating connection to: <OGG_MACHINE>; nested exception is:
java.net.NoRouteToHostException: No route to host (Host unreachable)
   at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:631)
   at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
   at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
   at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
   at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2430)
   at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308)
   at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
   at com.oracle.goldengate.jmx.util.JMXClientUtil.create(JMXClientUtil.java:70)
   at com.oracle.goldengate.jmx.util.JMXClientUtil.create(JMXClientUtil.java:57)
   at oracle.odi.runtime.agent.processor.impl.TestDataServerProcessor$1.doAction(TestDataServerProcessor.java:178)
   ... 26 more
Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
   at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
   at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
   at java.net.Socket.connect(Socket.java:589)
   at java.net.Socket.connect(Socket.java:538)
   at java.net.Socket.(Socket.java:434)
   at java.net.Socket.(Socket.java:211)
   at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
   at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
   at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
   ... 36 more
]]

However, a telnet from the ODI machine to the OGG machine on the OGG JAgent listening port is successful, and other traffic (database for example) is successful with no problems.

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
References


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