Standalone Agent Fails With "ODI-2013 Ping to agent XXX failed" and "ODI-1424: Agent host or port cannot be reached" Messages

(Doc ID 2158543.1)

Last updated on JANUARY 23, 2018

Applies to:

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

Symptoms

The following message is received when testing the status of an Oracle Data Integrator (ODI) 12c Standalone Agent:

ODI-2013 Ping to agent XXX failed with "oracle.odi.runtime.agent.invocation.InvocationException: ODI-1424: Agent host or port cannot be reached using http://<HOSTNAME>:<PORT>/oraclediagent."

or:

oracle.odi.runtime.agent.invocation.InvocationException: ODI-1424: Agent host or port cannot be reached using http://<HOSTNAME>:<PORT>/oraclediagent.
at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.reThrowAgentErrorAsInvocation(RemoteRuntimeAgentInvoker.java:1716)
at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:449)
at oracle.odi.runtime.agent.invocation.support.InternalRemoteRuntimeAgentInvoker.invoke(InternalRemoteRuntimeAgentInvoker.java:162)
at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invokeIsAlive(RemoteRuntimeAgentInvoker.java:613)
at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invokeIsAlive(RemoteRuntimeAgentInvoker.java:591)
at oracle.odi.ui.action.SnpsPopupActionTestAgentHandler.testOdiAgent(SnpsPopupActionTestAgentHandler.java:85)
at oracle.odi.ui.action.SnpsPopupActionTestAgentHandler.actionPerformed(SnpsPopupActionTestAgentHandler.java:76)

 

When attempting to start the agent via the command line, the following errors are received:

oracle>./agent.sh -NAME=OracleDIAgent -PORT=<PORT>
Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed
oracle.core.ojdl.logging.LoggingConfigurationException: ODL-52042: undefined property: ${ODI_INSTANCE_NAME}.
Oct 23, 2017 10:31:24 AM oracle.odi.param.CliParameterReader <init>
SEVERE: java.lang.RuntimeException: java.io.FileNotFoundException: looked in /u03/oracle/Middleware/ODI/user_projects/domains/base_domain/config/fmwconfig/components/ODI/OracleDIAgent/instance.properties
java.lang.RuntimeException: java.io.FileNotFoundException: looked in /u03/oracle/Middleware/ODI/user_projects/domains/base_domain/config/fmwconfig/components/ODI/OracleDIAgent/instance.properties
      at oracle.odi.cam.mbeans.OdiAgent.<init>(OdiAgent.java:68)
      at oracle.odi.param.CliParameterReader.<init>(CliParameterReader.java:104)
      at oracle.odi.param.AgentWarClassPathFileReader.<init>(AgentWarClassPathFileReader.java:18)
      at oracle.odi.param.ParameterHelper.init(ParameterHelper.java:102)
      at oracle.odi.Agent.main(Agent.java:724)
Caused by: java.io.FileNotFoundException: looked in /u03/oracle/Middleware/ODI/user_projects/domains/base_domain/config/fmwconfig/components/ODI/OracleDIAgent/instance.properties
      at oracle.odi.cam.OdiProperties.load(OdiProperties.java:357)
      at oracle.odi.cam.mbeans.OdiConfigMBeanSupport.load(OdiConfigMBeanSupport.java:70)
      at oracle.odi.cam.mbeans.OdiAgent.<init>(OdiAgent.java:66)
      ... 4 more

Oct 23, 2017 10:31:24 AM oracle.odi.agent
SEVERE: ODI-1627: "Error getting instance properties"
org.apache.commons.cli.ParseException: ODI-1627: "Error getting instance properties"
      at oracle.odi.param.CliParameterReader.<init>(CliParameterReader.java:108)
      at oracle.odi.param.AgentWarClassPathFileReader.<init>(AgentWarClassPathFileReader.java:18)
      at oracle.odi.param.ParameterHelper.init(ParameterHelper.java:102)
      at oracle.odi.Agent.main(Agent.java:724)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: looked in /u03/oracle/Middleware/ODI/user_projects/domains/base_domain/config/fmwconfig/components/ODI/OracleDIAgent/instance.properties

 

Changes

 file system-comp-config.xml in /opt/odi/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/config/fmwconfig/components

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