When attempting to configure LDAP Sync, the LDAPConfigPostSetup.sh script fails with Java InvocationTargetException

(Doc ID 2298732.1)

Last updated on FEBRUARY 06, 2018

Applies to:

Identity Manager - Version 11.1.2.3.1 and later
Information in this document applies to any platform.

Symptoms

Customer is following steps to integrate OIM with OUD via LDAPSync.  When running the LDAPConfigPostSetup.sh script, they get the following:

[fsbweb@oims1 ldap_config_util]$ ./LDAPConfigPostSetup.sh /export/local/weblogic_oim/Oracle_IDM1/server/ldap_config_util
For running the Utilities the following environment variables need to be set
APP_SERVER is weblogic
OIM_ORACLE_HOME is /export/local/weblogic_oim/Oracle_IDM1
JAVA_HOME is /export/local/java
MW_HOME is /export/local/weblogic_oim
WL_HOME is /export/local/weblogic_oim/wlserver_10.3
DOMAIN_HOME is /export/local/user_projects/domains/flagstar_domain
Executing oracle.iam.platformservice.utils.LDAPConfigPostSetup in IPv4 mode
[Enter LDAP admin password:]
[Enter OIM admin password:]
Obtained LDAP Connection.....
UsernamePasswordLoginModule.initialize(), debug enabled
UsernamePasswordLoginModule.login(), username xelsysadm
UsernamePasswordLoginModule.login(), URL t3://oims1.staging.xxxxxx.com:14000
log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
log4j:WARN Please initialize the log4j system properly.
Authenticated with OIM Admin.....
oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
   at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:282)
   at oracle.iam.platform.OIMClient.getService(OIMClient.java:259)
   at oracle.iam.platformservice.utils.LDAPConfigPostSetup.<init>(LDAPConfigPostSetup.java:240)
   at oracle.iam.platformservice.utils.LDAPConfigPostSetup.main(LDAPConfigPostSetup.java:146)
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

Changes

Newly configured OIM-OUD environment.  Manual configuration of LDAPSync per documentation.

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