6 Replies Latest reply: Feb 27, 2012 3:41 AM by Kuldeep RSS

    OIM self-register in Clustering Mode

    ejani
      Hello Guys,
      I have installed OIM on a round robin cluster configuration. A hardware loadbalancer is used to distribute the load.
      THe cluster seems to work since I can start OIM on both machines. The integration with SOA seems to work too, since I can navigate to the tab "self-service > TASKS", without problem.
      (If I shut down the SOA servers, it would not be possible to navigate on this tab). Now, when I try to test the approval proccess, to see the OIM SOA integration it gives me erros.

      I try to register a new user using the self-register request, available on login page. The request always fails and I see these errors on Oim server:


      <Feb 24, 2012 12:46:49 PM CET> <Error> <oracle.iam.platform.workflowservice> <IAM-2010002> <Unable to instantiate the workflow process due to EJB Exception: ; nested exception is:
      java.lang.NullPointerException>
      <Feb 24, 2012 12:46:49 PM CET> <Error> <oracle.iam.request.impl> <IAM-2050014> <An error occurred while initiating approvals for request 8. The corresponding error message is Unable to instantiate the workflow process due to EJB Exception: ; nested exception is:
      java.lang.NullPointerException.>
      <Feb 24, 2012 12:46:49 PM CET> <Error> <oracle.iam.request.impl> <IAM-2050050> <Exception thrown oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Unable to instantiate the workflow process due to EJB Exception: ; nested exception is:
      java.lang.NullPointerException>
      <Feb 24, 2012 12:46:49 PM CET> <Error> <oracle.iam.request.impl> <IAM-2050014> <An error occurred while initiating approvals for request 8. The corresponding error message is Unable to instantiate the workflow process due to EJB Exception: ; nested exception is:
      java.lang.NullPointerException.>
      <Feb 24, 2012 12:46:49 PM CET> <Error> <oracle.iam.request.impl> <IAM-2050050> <Exception thrown oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Unable to instantiate the workflow process due to EJB Exception: ; nested exception is:
      java.lang.NullPointerException>
      <Feb 24, 2012 12:46:49 PM CET> <Warning> <oracle.iam.callbacks.common> <IAM-2030081> <[CALLBACKMSG] Inside Status Change plugin for request 8 and the status is : Request Failed.>
      <Feb 24, 2012 12:46:49 PM CET> <Warning> <oracle.iam.callbacks.common> <IAM-2030082> <[CALLBACKMSG] Inside Status Change plugin for request 8, target tye is User and operation is CREATE.>
      <Feb 24, 2012 12:46:49 PM CET> <Warning> <oracle.iam.callbacks.common> <IAM-2030082> <[CALLBACKMSG] Inside Status Change plugin for request 8, target tye is User and operation is CREATE.>



      Has anyone had this problem before? Could you help me with this?

      Best Regards,
      Eugert
        • 1. Re: OIM self-register in Clustering Mode
          ejani
          hello again:

          I wanted to add the errors I got from diagnostic:

          I think it is important to mention that SOA server doesn't log anything about this operation, probably the error generates from OIM.



          [2012-02-24T14:46:17.175+01:00] [WLS_OIM2] [NOTIFICATION] [IAM-0080006] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 9698fa71dcf87090:599ceb32:135a6183992:-8000-0000000000003498,0] [APP: oim#11.1.1.3.0] Orchestration process moved to failed stage, and the corresponding error is - {0}[[
          oracle.iam.platform.kernel.EventFailedException: IAM-2050014:An error occurred while initiating approvals for request oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Unable to instantiate the workflow process due to EJB Exception: ; nested exception is:
          java.lang.NullPointerException. The corresponding error message is {1}.
          at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:119)
          at oracle.iam.platform.kernel.impl.OrchProcessData.runPreProcessEvents(OrchProcessData.java:898)
          at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:634)
          at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
          at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:675)
          at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:705)
          at oracle.iam.platform.kernel.impl.OrhestrationAsyncTask.execute(OrhestrationAsyncTask.java:108)
          at oracle.iam.platform.async.impl.TaskExecutor.executeUnmanagedTask(TaskExecutor.java:100)
          at oracle.iam.platform.async.impl.TaskExecutor.execute(TaskExecutor.java:70)
          at oracle.iam.platform.async.messaging.MessageReceiver.onMessage(MessageReceiver.java:68)
          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.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
          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.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 $Proxy399.onMessage(Unknown Source)
          at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
          at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
          at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:380)
          at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
          at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
          at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3822)
          at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
          at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
          at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
          at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
          Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Unable to instantiate the workflow process due to EJB Exception: ; nested exception is:
          java.lang.NullPointerException
          at oracle.iam.platform.workflowservice.impl.BPELProvider.initiate(BPELProvider.java:229)
          at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.initiate(WorkflowServiceImpl.java:197)
          at oracle.iam.request.impl.ApprovalManager.initiateTemplateLevelApproval(ApprovalManager.java:330)
          at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:80)
          ... 31 more

                    
                    
                    [2012-02-24T14:46:17.532+01:00] [WLS_OIM2] [WARNING] [IAM-2030081] [oracle.iam.callbacks.common] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 9698fa71dcf87090:599ceb32:135a6183992:-8000-0000000000003498,0] [APP: oim#11.1.1.3.0] [CALLBACKMSG] Inside Status Change plugin for request 10 and the status is : Request Failed.
          [2012-02-24T14:46:17.534+01:00] [WLS_OIM2] [WARNING] [IAM-2030082] [oracle.iam.callbacks.common] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 9698fa71dcf87090:599ceb32:135a6183992:-8000-0000000000003498,0] [APP: oim#11.1.1.3.0] [CALLBACKMSG] Inside Status Change plugin for request 10, target tye is User and operation is CREATE.
          [2012-02-24T14:46:17.535+01:00] [WLS_OIM2] [WARNING] [IAM-2030082] [oracle.iam.callbacks.common] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 9698fa71dcf87090:599ceb32:135a6183992:-8000-0000000000003498,0] [APP: oim#11.1.1.3.0] [CALLBACKMSG] Inside Status Change plugin for request 10, target tye is User and operation is CREATE.
          [2012-02-24T14:46:17.561+01:00] [WLS_OIM2] [NOTIFICATION] [IAM-2030039] [oracle.iam.callbacks.common] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 9698fa71dcf87090:599ceb32:135a6183992:-8000-0000000000003498,0] [APP: oim#11.1.1.3.0] [CALLBACKMSG] No applicable policies in Status Change handler for request id is 10.
          [2012-02-24T14:46:17.843+01:00] [WLS_OIM2] [NOTIFICATION] [IAM-3050144] [oracle.iam.identity.usermgmt.impl.handlers.create] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 9698fa71dcf87090:599ceb32:135a6183992:-8000-0000000000003498,0] [APP: oim#11.1.1.3.0] Compensate method called in pre-process handler of user operation CREATE with process Id 77 and event Id 279
          • 2. Re: OIM self-register in Clustering Mode
            BikashBagaria
            Check bug: 12987665 & 12593775

            -Bikash
            • 3. Re: OIM self-register in Clustering Mode
              ejani
              Hello Bigash,
              Thank you for your quick response. I have installed oracle OIM using the setup of oracle identity & access management "ofm_iam_generic_11.1.1.5.0_disk1_1of1.zip" from this link:

              http://www.oracle.com/technetwork/middleware/downloads/oid-11g-161194.html

              I thought that the setup contained a patched suite, but and ignored that fact that I always saw oracle identity manager 11.1.1.3.0 on logs or on enterprise manager.

              Now I am having the doubt that in fact my indentity manager isn't the 11.1.1.5.0 and tha the suite iam on that link doesnt contain the patched identity and access management even if the instructions of installing doesn't mention that I need to patch oim after installing.

              Are my doubts right?

              Best Regards,

              Eugert
              • 4. Re: OIM self-register in Clustering Mode
                BikashBagaria
                Even on installing 11.1.1.5 it would show you 11.1.1.3. Not sure why they goofed this up. If you are sure that you have used the 11.1.1.5 installer than you have that. Check the XSD table and OPtach -lsinventory command to get the exact value of the installation.
                As for your issue, I know that it was in 11.1.1.3 fixed in 11.1.1.3 BP6 & it is in 11.1.1.5 fixed in 11.1.1.5 BP1.

                -Bikash
                • 5. Re: OIM self-register in Clustering Mode
                  ejani
                  Hello Bigash,
                  these are the information saved in my XSD table:

                  XSD_CODE     XSD_VALUE

                  XL_BUILD_NUMBER     11.1.1.5.0.0.0
                  XL_BUILD     0.0
                  XL_PATCH_BASE     11.1.1.5.0
                  XL_PATCHLEVEL     5.0
                  XL_BRANCH_NAME     1
                  XL_ADE_LABEL     IAM_11.1.1.5.0_GENERIC_110418.0500


                  and these are the information opatch lsinventory gaves me:

                  Invoking OPatch 11.1.0.8.3

                  Oracle Interim Patch Installer version 11.1.0.8.3
                  Copyright (c) 2010, Oracle Corporation. All rights reserved.


                  Oracle Home : /app/Middleware/Oracle_IDM1
                  Central Inventory : /users/iamapp/oraInventory
                  from : /var/opt/oracle/oraInst.loc
                  OPatch version : 11.1.0.8.3
                  OUI version : 11.1.0.9.0
                  OUI location : /app/Middleware/Oracle_IDM1/oui
                  Log file location : /app/Middleware/Oracle_IDM1/cfgtoollogs/opatch/opatch2012-02-27_09-37-41AM.log

                  Patch history file: /app/Middleware/Oracle_IDM1/cfgtoollogs/opatch/opatch_history.txt


                  OPatch detects the Middleware Home as "/app/Middleware"

                  Lsinventory Output file location : /app/Middleware/Oracle_IDM1/cfgtoollogs/opatch/lsinv/lsinventory2012-02-27_09-37-41AM.txt

                  --------------------------------------------------------------------------------
                  Installed Top-level Products (1):

                  Oracle IDM Suite 11.1.1.5.0
                  There are 1 products installed in this Oracle Home.


                  There are no Interim patches installed in this Oracle Home.


                  --------------------------------------------------------------------------------

                  OPatch succeeded.

                  I have never applied any patch on this installation. Do I need to patch it in order to resolve the bug?
                  Since I have never applied a oracle patch, before, could u give me some guidlines?

                  Thank you very much for your collaboration.

                  Best Regards,
                  Eugert
                  • 6. Re: OIM self-register in Clustering Mode
                    Kuldeep
                    It seems, There is problem with SOA - OIM integration.
                    Install XIMDD. check the installation has done correct or not.
                    http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/dashboard.htm

                    Meanwhile check the meta link:
                    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1221305.1
                    Thanks,
                    Kuldeep