Encode.sh fails with ODI-1625: 'This must be executed from a domain' (Doc ID 1984054.1)

Last updated on MARCH 03, 2017

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 to 12.2.1.3.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

After install the ODI 12.1.3 JEE Agent, the encode.sh can only be located under the directory "$Middleware_Home/odi/agent/internal/bin".

When trying to execute encode.sh the following error occurs:

$ ./encode.sh 

  This script is not meant to be run directly by user. Please use the DOMAIN_HOME/bin scripts

  or

  ODI-1625: This must be executed from a domain

Searching in the ODI_HOME or MIDDLEWARE_HOME , there is no other "encode.sh" file under the domain installation.

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