My Oracle Support Banner

OUD12c - Running oud_createInstance via WLST Results in "Error: runCmd() failed. Do dumpStack() to see details." and "Error: No domain or domain template has been read." (Doc ID 2313090.1)

Last updated on MAY 30, 2023

Applies to:

Oracle Unified Directory - Version 12.2.1.3 and later
Information in this document applies to any platform.

Symptoms

The following error occurs when attempting to create an OUD 12c instance by running oud_createInstance using the WebLogic Scripting Tool (WLST).

wls:/offline>oud_createInstance(scriptName='oud-setup',instanceName='<INST_NAME>',hostname='<HOSTNAME>',ldapPort=<LDAP_PORT>,rootUserDN='cn=<DS_ADMIN>', rootUserPasswordFile='<PWD_FILE>',adminConnectorPort=<ADMIN_CONN_PORT>)
Error: runCmd() failed. Do dumpStack() to see details.
Error: No domain or domain template has been read.
Error: No domain or domain template has been read.
Error: No domain or domain template has been read.
...
Unable to update config file. Instance registration has failed
Instance creation has encountered a problem
Clean up process has started...
Clean up process has completed. <INST_NAME> instance directory has been removed
OUD instance creation has failed

And corresponding output from running dumpStack through WLST...

Error reading domain:
The domain directory must exist and contain config/config.xml...

wls:/offline>dumpStack()
com.oracle.cie.domain.script.jython.WLSTException: Error reading domain:
The domain directory must exist and contain config/config.xml
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2983)
at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:735)
...

 

Changes

 

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
Changes
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.