com.oracle.oim.gcp.exceptions.ResourceConnectionCreateException: javax.naming.CommunicationException: returnInitialLdapContext() times out after 130000 ms - JNDI initialization method not returning

Oracle Community | Mounika | 2 years ago
  1. 0

    Frequent returnInitialLdapContext() times out exception in OIM

    Oracle Community | 2 years ago | Mounika
    com.oracle.oim.gcp.exceptions.ResourceConnectionCreateException: javax.naming.CommunicationException: returnInitialLdapContext() times out after 130000 ms - JNDI initialization method not returning

    Root Cause Analysis

    1. com.oracle.oim.gcp.exceptions.ResourceConnectionCreateException

      javax.naming.CommunicationException: returnInitialLdapContext() times out after 130000 ms - JNDI initialization method not returning

      at oracle.iam.ldapsync.impl.repository.LDAPConnection.createConnection()
    2. oracle.iam.ldapsync
      LDAPConnection.createConnection
      1. oracle.iam.ldapsync.impl.repository.LDAPConnection.createConnection(LDAPConnection.java:158)
      1 frame
    3. com.oracle.oim
      PooledResourceConnectionProvider.createConnection
      1. com.oracle.oim.gcp.ucp.PooledResourceConnectionProvider.createConnection(PooledResourceConnectionProvider.java:84)
      1 frame
    4. oracle.ucp.common
      UniversalConnectionPoolImpl.borrowConnection
      1. oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPoolInternal.createOnePooledConnectionInternal(UniversalConnectionPoolImpl.java:1563)
      2. oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPoolInternal.access$600(UniversalConnectionPoolImpl.java:1399)
      3. oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:477)
      4. oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
      5. oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
      5 frames
    5. com.oracle.oim
      ConnectionService.getConnection
      1. com.oracle.oim.gcp.ucp.UCPPool.borrowConnectionFromPool(UCPPool.java:45)
      2. com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:49)
      3. com.oracle.oim.gcp.pool.ConnectionService.getConnection(ConnectionService.java:176)
      3 frames
    6. oracle.iam.ldapsync
      ITResourceRepository.getConnection
      1. oracle.iam.ldapsync.impl.repository.ITResourceRepository.getConnection(ITResourceRepository.java:35)
      1 frame
    7. oracle.iam.platform
      EntityManagerImpl.modifyEntity
      1. oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.lookup(LDAPDataProvider.java:970)
      2. oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.modifyEntity(LDAPDataProvider.java:883)
      3. oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.modify(LDAPDataProvider.java:801)
      4. oracle.iam.platform.entitymgr.impl.EntityManagerImpl.modifyEntity(EntityManagerImpl.java:388)
      4 frames
    8. oracle.iam.ldapsync
      UserCreateLDAPHandler.execute
      1. oracle.iam.ldapsync.impl.eventhandlers.user.UserCreateLDAPPreProcessHandler.createUser(UserCreateLDAPPreProcessHandler.java:204)
      2. oracle.iam.ldapsync.impl.eventhandlers.user.UserCreateLDAPHandler.execute(UserCreateLDAPHandler.java:84)
      2 frames
    9. oracle.iam.platform
      OrchestrationEngineImpl.orchestrate
      1. oracle.iam.platform.kernel.impl.OrchProcessData.runPreProcessEvents(OrchProcessData.java:898)
      2. oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:634)
      3. oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
      4. oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:665)
      5. oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:435)
      6. oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:381)
      7. oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:334)
      7 frames
    10. oracle.iam.identity
      UserManagerEJB.createx
      1. oracle.iam.identity.usermgmt.impl.UserManagerImpl.create(UserManagerImpl.java:653)
      2. oracle.iam.identity.usermgmt.api.UserManagerEJB.createx(Unknown Source)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor14919.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    12. com.bea.core
      MethodInvocationVisitorImpl.visit
      1. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      2. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
      4 frames
    13. weblogic.ejb.container
      EnvironmentInterceptorCallbackImpl.callback
      1. weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
      1 frame
    14. com.bea.core
      JdkDynamicAopProxy.invoke
      1. com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
      2. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      3. com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      4. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      7. com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      7 frames
    15. com.sun.proxy
      $Proxy399.createx
      1. com.sun.proxy.$Proxy399.createx(Unknown Source)
      1 frame
    16. oracle.iam.identity
      UserManager_nimav7_UserManagerRemoteImpl.__WL_invoke
      1. oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.__WL_invoke(Unknown Source)
      1 frame
    17. weblogic.ejb.container
      SessionRemoteMethodInvoker.invoke
      1. weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
      1 frame
    18. oracle.iam.identity
      UserManager_nimav7_UserManagerRemoteImpl_WLSkel.invoke
      1. oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.createx(Unknown Source)
      2. oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl_WLSkel.invoke(Unknown Source)
      2 frames
    19. weblogic.rmi.internal
      ServerRequest.sendReceive
      1. weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
      1 frame
    20. weblogic.rmi.cluster
      ClusterableRemoteRef.invoke
      1. weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
      2. weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
      2 frames
    21. oracle.iam.identity
      UserManager_nimav7_UserManagerRemoteImpl_1035_WLStub.createx
      1. oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl_1035_WLStub.createx(Unknown Source)
      1 frame
    22. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    23. weblogic.ejb.container
      RemoteBusinessIntfProxy.invoke
      1. weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
      1 frame
    24. com.sun.proxy
      $Proxy444.createx
      1. com.sun.proxy.$Proxy444.createx(Unknown Source)
      1 frame
    25. oracle.iam.identity
      UserManagerDelegate.create
      1. oracle.iam.identity.usermgmt.api.UserManagerDelegate.create(Unknown Source)
      1 frame
    26. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor14918.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    27. Thor.API.Base
      SecurityInvocationHandler$1.run
      1. Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
      1 frame
    28. weblogic.security
      Security.runAs
      1. weblogic.security.Security.runAs(Security.java:41)
      1 frame
    29. Thor.API.Security
      weblogicLoginSession.runAs
      1. Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
      1 frame
    30. Thor.API.Base
      SecurityInvocationHandler.invoke
      1. Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:100)
      1 frame
    31. com.sun.proxy
      $Proxy445.create
      1. com.sun.proxy.$Proxy445.create(Unknown Source)
      1 frame
    32. com.example.iam
      testUserManagementImpl.registerUser
      1. com.example.iam.utils.testUserManagementCommonUtil.createUser(testUserManagementCommonUtil.java:258)
      2. com.example.iam.utils.testUserManagementCommonUtil.createUserAndSetSecurityQA(testUserManagementCommonUtil.java:207)
      3. com.example.iam.impl.testUserManagementImpl.registerUser(testUserManagementImpl.java:315)
      3 frames
    33. com.example.test
      UserRegistrationInitiator.createActiveUser
      1. com.example.test.registration.ui.UserRegistrationInitiator.registerUser(UserRegistrationInitiator.java:374)
      2. com.example.test.registration.ui.UserRegistrationInitiator.createActiveUser(UserRegistrationInitiator.java:242)
      2 frames
    34. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    35. EL
      MethodExpressionImpl.invoke
      1. com.sun.el.parser.AstValue.invoke(Unknown Source)
      2. com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
      2 frames
    36. org.apache.myfaces
      MethodExpressionMethodBinding.invoke
      1. org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
      1 frame
    37. Apache MyFaces Trinidad API
      UIXCommand.broadcast
      1. org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
      2. org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
      2 frames
    38. oracle.adf.view
      UIXInclude.broadcast
      1. oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
      2. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)
      3. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      4. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      5. oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
      6. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)
      7. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      8. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      9. oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
      9 frames
    39. oracle.adfinternal.view
      LifecycleImpl.execute
      1. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
      2. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
      3. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
      3 frames
    40. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      1 frame
    41. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      3. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
      4. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      4 frames
    42. oracle.adf.model
      ADFBindingFilter.doFilter
      1. oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      1 frame
    43. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    44. oracle.adfinternal.view
      RegistrationFilter.doFilter
      1. oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      1 frame
    45. org.apache.myfaces
      TrinidadFilterImpl$FilterListChain.doFilter
      1. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      1 frame
    46. oracle.adfinternal.view
      AdsFilter.doFilter
      1. oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      1 frame
    47. org.apache.myfaces
      TrinidadFilterImpl.doFilter
      1. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      2. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      2 frames
    48. Apache MyFaces Trinidad API
      TrinidadFilter.doFilter
      1. org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      1 frame
    49. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    50. com.example.test
      IEVersionModeFilter.doFilter
      1. com.example.test.util.IEVersionModeFilter.doFilter(IEVersionModeFilter.java:34)
      1 frame
    51. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    52. oracle.security.wls
      SSOSessionSynchronizationFilter.doFilter
      1. oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:277)
      1 frame
    53. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    54. oracle.security.am
      OAMValidationSystemFilter.doFilter
      1. oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)
      1 frame
    55. oracle.security.wls
      OAMAgentWrapperFilter.doFilter
      1. oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)
      1 frame
    56. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    57. com.example.test
      testClickjackFilter.doFilter
      1. com.example.test.util.testClickjackFilter.doFilter(testClickjackFilter.java:49)
      1 frame
    58. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    59. oracle.adf.library
      LibraryFilter.doFilter
      1. oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:176)
      1 frame
    60. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    61. oracle.adfinternal.view
      AdfFacesCachingFilter.doFilter
      1. oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:135)
      1 frame
    62. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    63. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      2. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      3. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      3 frames
    64. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      1 frame
    65. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      1 frame
    66. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      3 frames
    67. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    68. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      2. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      2 frames
    69. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      2 frames