Collocated ODI Agent Fails To Start Using StartComponent.sh/cmd in remote machine after using pack/unpack with "managed=true", Error "readDomain() failed" (Doc ID 2176287.1)

Last updated on SEPTEMBER 16, 2016

Applies to:

Enterprise Manager for Fusion Middleware - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

In Oracle Data Integrator (ODI) 12c, after you pack using the following command:

ORACLE_HOME/oracle_common/common/bin/pack.sh -domain=DOMAIN_HOME -template=dir/domain_name.jar -template_name="DOMAIN" -managed=true

and unpack on the remote machine...

... the <DOMAIN_HOME>/bin/startComponent.sh command would fail and signal:

/u/Middleware/Oracle/user_projects/domains/odi_domain/bin $ ./startComponent.sh RODIAgent_2
Starting system Component RODIAgent_2 ...

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Reading domain from /u/Middleware/Oracle/user_projects/domains/odi_domain
Error: readDomain() failed. Do dumpStack() to see details.
Error: com.oracle.cie.domain.script.ScriptException: com.oracle.cie.common.CommonException: fail to load domain from directory
Root Cause: java.lang.reflect.InvocationTargetException

Exiting WebLogic Scripting Tool.

Done

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