2 Replies Latest reply on Feb 13, 2015 4:27 PM by 2690041

    IAM-2050014 : An error occurred while initiating approvals for request 00000. The corresponding error message is java.lang.RuntimeException: Caller doesn't have enough permission to call this method.

    2690041

      Hi,

       

      Please provide me a suggestion on the following issue.

       

      When user requests a role or any entity from catalog for other user, after submitting, request status goes to Request Failed with the following message:

       

      IAM-2050014 : An error occurred while initiating approvals for request 00000. The corresponding error message is java.lang.RuntimeException: Caller doesn't have enough permission to call this method.

       

       

      Error message in logs:

      I have included only the causes from the logs.

       

       

      Exception thrown java.lang.RuntimeException: Caller doesn't have enough permission to call this method.[[

      oracle.iam.platform.workflowservice.exception.IAMWorkflowException: java.lang.RuntimeException: Caller doesn't have enough permission to call this method.

        at oracle.iam.platform.workflowservice.impl.BPELProvider.getAllHumanTasksForComposite(BPELProvider.java:849)

      ..

      ..

      Caused by: java.lang.RuntimeException: Caller doesn't have enough permission to call this method.

        at oracle.soa.management.internal.ejb.impl.BaseSOABeanImpl.checkSecurityRole(BaseSOABeanImpl.java:55)

        at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.lookupComposite(FacadeFinderBeanImpl.java:409)

        ..

        ..

        .. 

        at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

        ... 1 more

       

      Orchestration process moved to failed stage, and the corresponding error is - {0}[[

        oracle.iam.platform.kernel.EventFailedException: An error occurred while initiating approvals for request 62942. The corresponding error message is java.lang.RuntimeException:      Caller doesn't have enough permission to call this method..

        at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:121)

        at oracle.iam.platform.kernel.impl.OrchProcessData.runPreProcessEvents(OrchProcessData.java:1123)

        ..

        ..

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: java.lang.RuntimeException: Caller doesn't have enough permission to call this method.

        at oracle.iam.platform.workflowservice.impl.BPELProvider.getAllHumanTasksForComposite(BPELProvider.java:849)

        at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:239)

        ::

        :: 

        at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)

        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)

        ... 1 more

      Caused by: java.lang.RuntimeException: Caller doesn't have enough permission to call this method.

        at oracle.soa.management.internal.ejb.impl.BaseSOABeanImpl.checkSecurityRole(BaseSOABeanImpl.java:55)

        ::

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

      ... 1 more

       

      Thanks..