My Oracle Support Banner

When attempting to configure LDAP Sync, the script fails with Java InvocationTargetException (Doc ID 2298732.1)

Last updated on FEBRUARY 06, 2018

Applies to:

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


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

[fsbweb@oims1 ldap_config_util]$ ./ /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://
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(
   at oracle.iam.platform.OIMClient.getService(
   at oracle.iam.platformservice.utils.LDAPConfigPostSetup.<init>(
   at oracle.iam.platformservice.utils.LDAPConfigPostSetup.main(
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(


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


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

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