OIM User Creation : An Error occurred while performing create user operation. Unable to get LDAP connection

This post covers an issue that I encountered on Oracle Identity Manager (OIM) while creating new user in OIM. Error I received on screen was “Error occurred while performing create user operation. Unable to get LDAP connection, and the root cause is – null“.  OIM during installation or later can be integrated with LDAP server using LDAPSync . More on LDAP Sync herehere, and here

  • On user creation in OIM, LDAPSync should create this user in LDAP Server as well.

 

 

If you hit this problem then check error in OIM diagnostic logs at $DOMAIN_HOME/servers/[oim_server1]/logs
______

[2012-10-05T18:59:03.774+00:00] [oim_server1] [ERROR] [IAM-0042002] [oracle.iam.platform.entitymgr.provider.ldap] [tid: [ACTIVE].ExecuteThread: ‘5’ for queue: ‘weblogic.kernel.Default (self-tuning)’] [userId: xelsysadm] [ecid: 004mpHqz1mi6 ESgvDCtHdC0006YZ00001K,0:1] [APP: oim#11.1.1.3.0] [URI: /admin/faces/pages/Admin.jspx] An error occurred while creating the entity in LDAP, and the corresponding error is – {0}[[
oracle.iam.platform.entitymgr.vo. ConnectivityException: java.lang .NullPointerException
at oracle.iam.ldapsync.impl.repository. ITResourceRepository. getConnection (ITResourceRepository.java:39)
at oracle.iam.platform.entitymgr. provider.ldap.LDAPDataProvider. create(LDAPDataProvider.java:465)
at oracle.iam.platform.entitymgr. impl.EntityManagerImpl. createEntity(EntityManagerImpl.java:291)
at oracle.iam.ldapsync.impl. eventhandlers.user. UserCreateLDAPPreProcessHandler. createUser(UserCreateLDAP PreProcessHandler.java:193)

.
.

Caused by: java.lang.NullPointerException
at oracle.ucp. common.Universal ConnectionPoolImpl  $UniversalConnection PoolInternal. createOnePooled ConnectionInternal (UniversalConnectionPoolImpl.java:1614)
at oracle.ucp.common.UniversalConnectionPoolImpl $UniversalConnectionPoolInternal. access$600(Universal ConnectionPoolImpl.java:1446)
at oracle.ucp.common. UniversalConnectionPoolImpl. createOnePooledConnection (UniversalConnectionPoolImpl.java:514)

.

________

 

  • If you hit error like above then check  IT Resource (Manage IT Resource) in OIM Advanced Administration Console

 

  • Search for IT Resource Type Directory Server and change Connection Pooling Supported to False   (This issue seems to be fixed in OIM BP03)

 

 

 

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

4 comments
mike says October 25, 2012

I have a different failure for the user creation:

[2012-10-25T20:49:39.510+00:00] [oim_server1] [ERROR] [IAM-3050030] [oracle.iam.identity.usermgmt.impl] [tid: [ACTIVE].ExecuteThread: ‘5’ for queue: ‘weblogic.kernel.Default (self-tuning)’] [userId: xelsysadm] [ecid: d246649183da7a43:48d3ca36:13a95cce0c7:-8000-0000000000000a27,0] [APP: oim#11.1.1.3.0] An exception occurred while performing the operation.[[
oracle.iam.platform.kernel.EventFailedException: IAM-3010201:LDAP create event failed : Parent entry not found in the directory.:Parent entry not found in the directory.
at oracle.iam.ldapsync.impl.util.LDAPSyncUtil.createEventFailedException(LDAPSyncUtil.java:706)
at oracle.iam.ldapsync.impl.util.LDAPSyncUtil.createEventFailedException(LDAPSyncUtil.java:722)

I made the change for the search base from dc=comp, dc=com to cn=users,dc=comp,dc=com

it still fails the same.

i have oim11.1.1.5.3

thanks.

Reply
Atul Kumar says October 25, 2012

@ Mike,

Search base dc=comp,dc=com is right you don’t have to change this.

Please share what values you entered during config.sh (durign OIM configuration) –

LDAP Server screen, provide the following details
k) Directory Server Type: ????
l) Directory Server ID: ???
m) Server URL: ldap://??????:???
n) Server User: cn=oimLDAP,cn=systemids,dc=?????
o) Server Password: *******
p) Server Search DN: dc=????
Click Next

On the LDAP Server continued screen, provide the following details
q) LDAP Role Container: cn=Groups,dc=????
r) LDAP User Container: cn=Users,dc=??????
s) User Reservation Container: cn=Reserve,dc=???

Reply
Saurabh says February 27, 2014

Hi Atul,

I am getting below error while trying to create user in OIM Self Service Console.

<ADF_FACES-60096:Server Exception during PPR, #21
javax.servlet.ServletException: OracleJSP error:
oracle.mds.exception.MDSRuntimeException: MDS-00010: DuplicateRefException. In document /oracle/iam/ui/runtime/form/view/pages/userCreateForm.jsff there are multiple elements with the same ID _xg_pfl0.
at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:181)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:777)

Can you please help with this.

Reply
Bhaskar says August 9, 2018

Hi Atul,

After providing the user details and when I click on the save and close button getting error”java.lang.RuntimeException: Failed to create user” in Fusion.Please help on this to resolve the issue.

Regards,
Bhaskar

Reply
Add Your Reply

Not found