Monday, September 30, 2013

ORABPEL-30701: Insufficient privileges to access metadata for another user



Error:

<Error> <oracle.soa.services.workflow.user> <BEA-000000> <<.> Insufficient privileges to access metadata for another user.
User USER A attempted to access metadata for user USER B without having appropriate administrator privileges.
Ensure that the appropriate privileges have been granted before attempting to access metadata belonging to another user.

ORABPEL-30701

Error Stack:

Insufficient privileges to access metadata for another user.

User USER1 attempted to access metadata for user USER2 without having appropriate administrator privileges.
Ensure that the appropriate privileges have been granted before attempting to access metadata belonging to another user.
        at oracle.bpel.services.workflow.user.impl.UserMetadataService.validateOperation(UserMetadataService.java:2401)
        at oracle.bpel.services.workflow.user.impl.UserMetadataService.updateGrantedTaskView(UserMetadataService.java:1339)
        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.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:91)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy251.updateGrantedTaskView(Unknown Source)
        at oracle.bpel.services.workflow.user.ejb.UserMetadataServiceBean.updateGrantedTaskView(UserMetadataServiceBean.java:202)
        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.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
        at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
        at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
        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 $Proxy311.updateGrantedTaskView(Unknown Source)
        at oracle.bpel.services.workflow.user.ejb.UserMetadataService_5ksc1c_EOImpl.__WL_invoke(Unknown Source)
        at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
        at oracle.bpel.services.workflow.user.ejb.UserMetadataService_5ksc1c_EOImpl.updateGrantedTaskView(Unknown Source)
        at oracle.bpel.services.workflow.user.ejb.UserMetadataService_5ksc1c_EOImpl_WLSkel.invoke(Unknown Source)
        at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
        at oracle.bpel.services.workflow.user.ejb.UserMetadataService_5ksc1c_EOImpl_1036_WLStub.updateGrantedTaskView(Unknown Source)
        at oracle.bpel.services.workflow.user.client.UserMetadataServiceRemoteClient.updateGrantedTaskView(UserMetadataServiceRemoteClient.java:102


Problem:

--------
Let's say a user A shares a view, user B logs into worklist application and goes to shared view. User B clicks on a column to sort but receives an error message.
Error displayed to user: Error occured while sorting task list.
Insufficient privileges to access metadata for another user.Ensure that the appropriate privileges have been granted before attempting to access metadata belonging to another user.
 

Resolution:

--------------------
1) Issue does NOT happen when both users (UserA and UserB) are part of the Administrators group.
2) you should either look for a patch patch 12693265 and apply it, or contact support about obtaining a fix that is suitable for your environment (incase you have any conflicting patches that already exist in your environment).
 

[Note:] The base bug 12693265 fixed for 11.1.1.6.0 but may also have the problem. Other users can sort the columns now, but can see an error in the logs.

Workaround: Ignore the error.
 

References:

Bug 12693265 : UNABLE TO SORT TASKS IN BPM WORKLIST SHARED VIEWS
Bug 12870530 - SORTING A COLUMN FROM A VIEW GRANTED BY ANOTHER USER RESULTS IN ORABPEL-30701

Bug 13036746 : ORABPEL-30701 ERROR WHEN TRYING TO SORT COLUMNS BUT SORT WORKS FINE

No comments:

Post a Comment