• Find us:
    +1-669-900-5138   |   +44-203-372-5553
  • Free Newsletter

    Get Latest Updates

  • Make Training Enquiry


  • Categories

  • Archive

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

    Posted by "" in "identity_manager" on 2012-10-25

    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPin on PinterestEmail this to someone

    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#] [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. access0(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)




    Related Posts for Identity Manager

    1. Oracle Identity Manager (User Provisioning – Thor)
    2. Installing Oracle Identity Manager (Thor Xellerate)
    3. Oracle Identity Manager 9.1 released
    4. Oracle Identity Manager (Thor Xellerate) Architecture
    5. Resource, Reconciliation, Provisioning and Connector in Oracle Identity Manager #OIM
    6. Oracle Identity Manager (OIM) Connector for Oracle Internet Directory (OID) : Architecture and Overview
    7. Step by Step Installation of OIM Design Console 9.1.0
    8. Error while running PurgeCache in OIM 11g : LoginException unable to find LoginModule class : WebLogic Full Clinet
    9. Integrate OIM 11g with OID using connector for Provisioning / Reconcilliation – Installation
    10. PurgeCache in OIM 11g : CategoryName
    11. OIM LDAP Sync : Overview and Key Points
    12. OIM 11g : How to export/import/delete Files from MDS
    13. Where are OAM details stored in OIM (account unlock, password reset)
    14. libOVD adapters in OIM LDAP Integration : LDAPsync – view and modify Adapter settings (bindDN and bindPassword)
    15. Error Starting OIM Design Console (xlclient.sh) on Linux java.lang. NoClassDefFoundError
    16. OIM 11g Challenge Questions (PCQ) for forgot password
    17. Oracle EBS Integration with OIM (Identity Manager) : Things you should know
    18. Users not synced from OID to OIM : Debug Scheduled Job
    19. OIM Connector for Microsoft : AD, Exchange, Windows, Password Management
    20. Connector Server for OIM connectors : .NET or JAVA
    21. OIM 11g Challenge Questions – Everything you must know
    22. OIM 11g How to add Challenge Questions
    23. OIM : Assign AD resource : An error occurred because the Adapters are not compiled : How to compile adapters in OIM
    24. OIM User Creation : An Error occurred while performing create user operation. Unable to get LDAP connection
    25. OIM – AD integration : Active Directory Group Lookup Recon failed with error Remote Framework Key is invalid
    26. Microsoft Active Directory (AD) to Oracle Identity Manager (OIM) Password Synchronization: Things you must know : Part I
    27. Provision resource “Microsoft Exchange” to user in OIM : Status remains in Provisioning : Part I
    28. Target Resource (or Managed Resource) vs Trusted Source (or Authoritative Source) Mode : OIM integration with applications (AD, OID, OVD, EBS, SAP, HR, LDAP)
    29. 500 Internal server accessing OIM application : com.bea. security.MicroSM. getInstance oracle.iam. platform. authz.impl
    30. Your account is locked. You can unlock your account by going to Forgot Password
    31. OIM 11g : How to find User and Manager details : USR table
    32. OIM 11g : User Detail/Attribute (Description) not visible in OIM User screen : EBS / OID / OIM integration
    33. OIM 11g: The add proxy operation for user XXXXX failed with following error oracle. bpel. services. workflow. client. workflowservieclientException javax.xml.ws.WebServiceException could not determine wsdl ports
    34. Oracle Identity Manager BP07 for 11gR1 PS1 (16097399) is now available – (Part of Identity Management SUite BP03 16209876)
    35. OIM 11g : SQL to List User’s Manager
    36. OIM integrated with OAM (SSO) showing OIM login screen : User Soft Locked
    37. OIM 11g: Beware if you are applying WebLogic patch !
    38. Help Me : Microsoft Active Directory Password Sync version and latest patch for Oracle Identity Manager
    39. Upgrade OIM connector for Microsoft Exchange to Part I
    40. OIM Administrators : Is your OIM database Growing ? Do you purge enough ?
    41. EBS Integration with OIM : Employee Reconciliation : NumberFormatException: “BUSINESS_GROUP_ID”
    42. OIM EBS User Management : eBusiness UM Lookup Definition Reconciliation failed with Invalid Schedule Task Parameter

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

    1. mike says:

      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#] 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.


    2. Atul Kumar says:

      @ 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=???

    3. Saurabh Gairola says:

      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.

    Leave a Reply

  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.

    K21 Technologies
    8 Magnolia Place, Harrow,
    London, HA2 6DS

    UK: +44(0)7476444481
    USA: +1-888-414-1821

  • 2014, K21 Technologies. All rights reserved DMCA.com
  • TOP