1 2 Previous Next 17 Replies Latest reply on Dec 3, 2012 3:55 PM by 960529

    Apply Manager Value to Existing OIM Identity Java Exception

    960529
      Hi, when i search, find, update the manager value for an existing OIM identity and click Apply, the following error is returned, thoughts?

      <Oct 17, 2012 4:34:26 PM CDT> <Warning> <oracle.iam.callbacks.common> <IAM-2030146> <[CALLBACKMSG] Are applicable policies present for this async eventhandler ? : false>
      <Oct 17, 2012 4:34:53 PM CDT> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
      javax.faces.el.EvaluationException: oracle.iam.platform.kernel.OrchestrationException:
      at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
      at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      Caused By: oracle.iam.platform.kernel.OrchestrationException:
      Caused By: java.lang.StackOverflowError

      and this line about 100 times:
      at oracle.iam.identity.usermgmt.impl.handlers.modify.ModifyUserValidationHandler.validateManager(ModifyUserValidationHandler.java:1022)
        • 1. Re: Apply Manager Value to Existing OIM Identity Java Exception
          960529
          Hi,

          Can the user's manager value be updated via SQL?

          In sqlplus, I'm connecting to the oim db, and want to run something like this:

          SQL> UPDATE tablename SET manager='010110101' WHERE uid='123456789';

          I'm looking for the tablename and the attribute name of the manager field.


          The OIM identities were created from a trusted oracle database recon.

          This is OIM 11.1.1.5.4, Oracle 10.2.0.1.0

          Thanks.
          • 2. Re: Apply Manager Value to Existing OIM Identity Java Exception
            Rajiv Dewan
            SQL is not recommended but here is the query

            Update USR set USR_MANAGER_KEY= <USER KEY OF MANAGER ID> where USR_LOGIN=<USER LOGIN FOR WHOM YOU WANT TO UPDATE>;
            COMMIT;


            You can use APIs:

            UserManager
            EntityManager
            • 3. Re: Apply Manager Value to Existing OIM Identity Java Exception
              960529
              Thank you.

              1. how do i get the user key of manager id? USR is a table but has no data, just the column settings. I'm storing OIM identities in the default embedded LDAP.
              2. may i trouble you for an example of using the UserManager API?
              • 4. Re: Apply Manager Value to Existing OIM Identity Java Exception
                Rajiv Dewan
                Didn't understand your reply:


                UserManager

                http://rajivdewan.blogspot.com/2011/12/sample-code-get-user-organization-using.html
                • 5. Re: Apply Manager Value to Existing OIM Identity Java Exception
                  960529
                  Thanks...very helpful.

                  Back to the SQL question...there is no data in the USR table....so where to look for the user data?
                  • 6. Re: Apply Manager Value to Existing OIM Identity Java Exception
                    Rajiv Dewan
                    Manager must exist into OIM.

                    Update USR set USR_MANAGER_KEY= (Select USR_KEY from USR where USR_LOGIN='MANAGER ID>' ) where USR_LOGIN=<USER LOGIN FOR WHOM YOU WANT TO UPDATE>;
                    COMMIT;

                    Suppose you wnat make User A as Manager of User B then User A must exists into OIM.
                    OIM stores all the data into USR table.
                    USR is a table but has no data
                    I didn't understand USR is the table but with no data
                    • 7. Re: Apply Manager Value to Existing OIM Identity Java Exception
                      960529
                      Hi, I was using a scheme account without read access to USR...I can now select data from USR.

                      However, the idea was to populate the Manager field in the admin console; in sqldeveloper I found a user with manager populated, taking that value, i tried to update a different user, that worked...
                      when i searching on that user in the admin console, Manager was empty...thoughts?
                      • 8. Re: Apply Manager Value to Existing OIM Identity Java Exception
                        960529
                        Possibly, the following is the cause why the update is not displayed in the admin console...

                        When I open an account without a manager value, I click search and add a manager value, when I click apply, the following error is returned...thoughts?
                        The update/commit worked as the DEV_OIM schema user, could this me a rights issue, as I logon to the console as weblogic? Or is it something else entirely?
                        Thanks for looking...


                        <Nov 29, 2012 5:58:34 PM CST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
                        javax.faces.el.EvaluationException: oracle.iam.platform.kernel.OrchestrationException:
                        at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
                        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
                        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
                        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
                        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
                        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
                        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
                        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
                        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
                        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
                        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
                        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
                        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
                        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
                        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
                        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
                        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
                        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
                        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
                        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
                        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)
                        at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)
                        at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:108)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
                        at java.security.AccessController.doPrivileged(Native Method)
                        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
                        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
                        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
                        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
                        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
                        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
                        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
                        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
                        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
                        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
                        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
                        Caused By: oracle.iam.platform.kernel.OrchestrationException:
                        at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:511)
                        at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:444)
                        at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:378)
                        at oracle.iam.identity.usermgmt.impl.UserManagerImpl.modify(UserManagerImpl.java:899)
                        at oracle.iam.identity.usermgmt.api.UserManagerEJB.modifyx(Unknown Source)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
                        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
                        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
                        at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
                        at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
                        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                        at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
                        at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
                        at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
                        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                        at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
                        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                        at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
                        at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
                        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
                        at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
                        at $Proxy456.modifyx(Unknown Source)
                        at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.__WL_invoke(Unknown Source)
                        at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
                        at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.modifyx(Unknown Source)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
                        at $Proxy187.modifyx(Unknown Source)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
                        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
                        at $Proxy334.modifyx(Unknown Source)
                        at oracle.iam.identity.usermgmt.api.UserManagerDelegate.modify(Unknown Source)
                        at oracle.iam.identitytaskflow.backing.taskflows.modifyuser.ModifyUserView.modifyUserAction(ModifyUserView.java:2963)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at com.sun.el.parser.AstValue.invoke(Unknown Source)
                        at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
                        at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
                        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
                        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
                        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
                        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
                        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
                        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
                        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
                        at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
                        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
                        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
                        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
                        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
                        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
                        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
                        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
                        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
                        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
                        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
                        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
                        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)
                        at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)
                        at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:108)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
                        at java.security.AccessController.doPrivileged(Native Method)
                        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
                        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
                        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
                        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
                        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
                        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
                        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
                        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
                        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
                        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
                        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
                        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
                        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
                        Caused By: java.lang.StackOverflowError
                        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:386)
                        at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
                        at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
                        at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
                        at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
                        at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
                        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
                        at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
                        at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
                        at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
                        at weblogic.jdbc.common.internal.ConnectionEnv.testInternal(ConnectionEnv.java:873)
                        at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:813)
                        at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:541)
                        at weblogic.common.resourcepool.ResourcePoolImpl.testResource(ResourcePoolImpl.java:2198)
                        at weblogic.common.resourcepool.ResourcePoolImpl.checkResource(ResourcePoolImpl.java:1678)
                        at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1588)
                        at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1577)
                        at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395)
                        at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:342)
                        at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:329)
                        at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:417)
                        at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:324)
                        at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:94)
                        at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:63)
                        at weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java:1677)
                        at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1475)
                        at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:446)
                        at weblogic.jdbc.jta.DataSource.connect(DataSource.java:403)
                        at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
                        at oracle.iam.platform.utils.vo.OIMDataSource.getConnection(OIMDataSource.java:57)
                        at oracle.iam.platform.entitymgr.provider.rdbms.RDBMSRepository.getConnection(RDBMSRepository.java:98)
                        at oracle.iam.oimdataproviders.impl.OIMDataProvider.getConnection(OIMDataProvider.java:896)
                        at oracle.iam.oimdataproviders.impl.OIMDataProvider.getMLSResultUpdated(OIMDataProvider.java:1506)
                        at oracle.iam.oimdataproviders.impl.OIMDataProvider.search(OIMDataProvider.java:1092)
                        at oracle.iam.oimdataproviders.impl.OIMUserDataProvider.lookup(OIMUserDataProvider.java:913)
                        at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(EntityManagerImpl.java:604)
                        at oracle.iam.identity.usermgmt.impl.UserMgrUtil.findEntity(UserMgrUtil.java:1024)
                        at oracle.iam.identity.usermgmt.impl.UserMgrUtil.findEntity(UserMgrUtil.java:1007)
                        at oracle.iam.identity.usermgmt.impl.handlers.modify.ModifyUserValidationHandler.validateManager(ModifyUserValidationHandler.java:1017)
                        at oracle.iam.identity.usermgmt.impl.handlers.modify.ModifyUserValidationHandler.validateManager(ModifyUserValidationHandler.java:1022)
                        • 9. Re: Apply Manager Value to Existing OIM Identity Java Exception
                          960529
                          Correction...I logon as xelsysadm...not weblogic.
                          • 10. Re: Apply Manager Value to Existing OIM Identity Java Exception
                            Rajiv Dewan
                            Do you have LDAP Synch Enabled ? If yes, it could be an issue.

                            Else, try these steps:

                            Restart your OIM Server
                            Login into Database through Schema Owner i.e. DEV_OIM (DEV is just prefix .. change it according to your environment)
                            Execute below query

                            Update USR set USR_MANAGER_KEY= 1 where USR_LOGIN='TESTUSER01'; // Replace TESTUSER01 with some valid USER ID
                            COMMIT;

                            Login into OIM with XELSYSADM Credential
                            Verify the Manager Attribute for TESTUSER01
                            • 11. Re: Apply Manager Value to Existing OIM Identity Java Exception
                              960529
                              Hi, thanks, the update command and commit both were succesful....when I logon to the console as xelsysadm, lookup the user, the manager field is empty.

                              If I try to manually add the manager, the above error is produced and the apply fails.
                              • 12. Re: Apply Manager Value to Existing OIM Identity Java Exception
                                960529
                                Okay, I ran the update with USR_MANAGER_KEY=1 and the user's manager field was updated with System Administrator

                                I reran the update with USR_MANAGER_KEY='21' and the user's real manager was updated corrected.

                                It looks like USR_MANAGER_KEY is a lookup...how does it get its CODE-DECODE values? There has to be some way USR_MANAGER_KEY is assigned because I have both 21 and 64 values...how did they get created?
                                • 13. Re: Apply Manager Value to Existing OIM Identity Java Exception
                                  Rajiv Dewan
                                  It would be good if you just go through the documents to understand OIM Architecture and Components.

                                  Create/Modify/Delete some users and see what happens at DB end.
                                  Update USR set USR_MANAGER_KEY= (Select USR_KEY from USR where USR_LOGIN='MANAGER ID>' ) where USR_LOGIN=<USER LOGIN FOR WHOM YOU WANT TO UPDATE>;
                                  If you look at the above query, which was shared with you earlier, it will give you the idea like how these things are working, what is manager key, what value we can assign, how OIM is setting these values etc..

                                  Good Luck !!!
                                  1 person found this helpful
                                  • 14. Re: Apply Manager Value to Existing OIM Identity Java Exception
                                    960529
                                    Thank you very much.

                                    Readme.html, Release 9.1.0.5, July 2010
                                    This document describes software and documentation updates related to release 9.1.0.5 of the Oracle Identity Manager Connector for Database Application Tables.

                                    DBUM 11.1.1.5.0 was installed to pull in the DBA_USER accounts from an Oracle database.

                                    Because DBUM ONLY connects to DBA_USER table, I had to install the DBAT connector and build a GTC. When I ran the GTC, all the accounts in the target table were created in OIM...just without the manager field populated as seen in the console.
                                    However, when I look at the accounts in the USR table of the OIM database via SQL Developer, I can see the USR_MANAGER field is NOT populated with the manager value. When I go back and edit the GTC to map the source manager's displayname or userid values to the OIM manager field, it fails.

                                    Does this make sense or is something else going on?
                                    1 2 Previous Next