My Oracle Support Banner

OID 12c oid_setup Fails On New OID Installation with. "WLSTException: Error occurred while performing invoke : javax.management.MBeanRegistrationException: Exception thrown in preRegister method " (Doc ID 2510141.1)

Last updated on JULY 05, 2023

Applies to:

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

Symptoms

On : 12.2.1.3.0 version, OID Replication Server

oid_setup is failing.

ERROR
-----------------------
wls:/offline> connect('<WLS_ADMIN_USER>','<WLS_ADMIN_PASSWORD>','t3://<WLS_HOSTNAME>:<WLS_PORT>')
Connecting to t3://<WLS_HOSTNAME>:<WLS_PORT> with userid <WLS_ADMIN_USER> ...
Successfully connected to Admin Server "AdminServer" that belongs to domain "<DOMAIN>".

wls:/<DOMAIN>/serverConfig/>
oid_setup(orcladminPassword='<ORCLADMIN_PASSWORD>',odsPassword='<ODS_PASSWORD>',realmDN=dc=<COMPANY>,dc=com
This is a writable tree with No root.
For more help, use help('editCustom')

Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
Traceback (innermost last):
File "", line 1, in ?
File "<PATH>/oid/plugins/wlst/oid-wlst-dependencies.jar!/wlstScriptDir/OidCustomCommands.py", line 14, in oid_setup
File "<PATH>/oid/plugins/wlst/oid-wlst-dependencies.jar/wlstScriptDir/oid_handler.py", line 274, in oid_doSetup
File "<PATH>/wlserver/modules/com.oracle.weblogic.management.scripting.jar/weblogic/management/scripting/utils/modules/wlstModule.py", line 38, in invoke
File "/tmp/wlst_module17992150276880736088.py", line 753, in wlstInvoke
File "/tmp/wlst_module31609669625941510406.py", line 240, in raiseWLSTException
WLSTException: Error occurred while performing invoke : javax.management.MBeanRegistrationException: Exception thrown in preRegister method
Use dumpStack() to view the full stacktrace :
wls:/<DOMAIN>/editCustom/oracle.oid.mbeans/oracle.oid.mbeans:type=OIDSystemComponent,name=OIDComponentManager>





Changes

 This is a new install of OID binary files with no prior OID instance setup.

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.