My Oracle Support Banner

OID 12c oid_setup Command Fails with: WLSTException: Error occurred while performing startEdit : Cannot call Edit functions when you are not in the Edit tree. (Doc ID 2847872.1)

Last updated on MARCH 06, 2023

Applies to:

Oracle Internet Directory - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

The oid_setup command in WLST is failing with an error.

oid_setup(orcladminPassword='<password>',odsPassword='<password>',realmDN='<cn=xx,dc=xx,dc=xxx>',port='<xxxx>',sslPort='<xxxx>',host='<hostname>')

Edit Server is not enabled. You will need to enable it
through the JMXMBean. To enable it, do the following,
and re-boot your server
 cd('/JMX/'+domainName)
 cmo.setEditMBeanServerEnabled(1)

Error: cd() failed. Do dumpStack() to see details.
Error: cd() failed. Do dumpStack() to see details.
Traceback (innermost last):
  File "", line 1, in ?
  File "/opt/oracle/middleware/oid/plugins/wlst/oid-wlst-dependencies.jar!/wlstScriptDir/OidCustomCommands.py", line 14, in oid_setup
  File "/opt/oracle/middleware/oid/plugins/wlst/oid-wlst-dependencies.jar/wlstScriptDir/oid_handler.py", line 273, in oid_doSetup
  File "/tmp/wlst_module17657232764019587365.py", line 497, in startEdit
  File "/tmp/wlst_module35400234651564411249.py", line 240, in raiseWLSTException
WLSTException: Error occurred while performing startEdit : Cannot call Edit functions when you are not in the Edit tree.


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot complete the oid_setup command successfully.

Changes

 Weblogic domain for OID is configured in Collocated mode. 

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
References


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