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 MARCH 07, 2019

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='1221oud',hostname='<HOSTNAME>',ldapPort=1221,rootUserDN='cn=Directory\ Manager', rootUserPasswordFile='/tmp/pwd',adminConnectorPort=1223)
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. 1221oud 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)
...

 

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

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