My Oracle Support Banner

ORABPEL-10509 When Adding Group To Application Role (Doc ID 2234522.1)

Last updated on AUGUST 12, 2024

Applies to:

Oracle SOA Suite - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

BPM + OVD

In BPM Workspace, when adding a group to a given application role, while clicking on "Save" button the following error occurs:

"Unable to grant the role to principals. An internal error has occurred. Please contact the administrator or Oracle support for help. "


In the logs the error is "User not found", despite it is a group that is being added.

ORABPEL-10509

User not found.
User "GROUP_NAME" is not found in configuration "myrealm".
Check if the user exists in the repository specified by the configurations. Check the error stack and fix the cause of the error.

at oracle.tip.pc.services.identity.jps.JpsProvider.lookupGroup(JpsProvider.java:1081)
at oracle.tip.pc.services.identity.jps.JpsProvider.getBPMGroup(JpsProvider.java:2600)
at oracle.bpm.services.organization.impl.AppRoleUtil.getBPMPrincipal(AppRoleUtil.java:850)
at oracle.bpm.services.organization.impl.AppRoleUtil.access$000(AppRoleUtil.java:89)
at oracle.bpm.services.organization.impl.AppRoleUtil$3.run(AppRoleUtil.java:297)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.bpm.services.organization.impl.AppRoleUtil.grantAppRoleToPrincipal(AppRoleUtil.java:291)
at oracle.bpm.services.organization.impl.BPMOrganizationService.grantAppRoleToPrincipalInternal(BPMOrganizationService.java:3668)
at oracle.bpm.services.organization.impl.BPMOrganizationService.grantAppRoleToPrincipal(BPMOrganizationService.java:1652)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:117)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy450.grantAppRoleToPrincipal(Unknown Source)

at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
Caused by: oracle.security.idm.ObjectNotFoundException: No Role found matching the criteria
at oracle.security.idm.providers.libovd.util.LibOVDDirectSearchResponse.initSearch(LibOVDDirectSearchResponse.java:167)
at oracle.security.idm.providers.libovd.util.LibOVDNonPagedSearchResponse.<init>(LibOVDNonPagedSearchResponse.java:59)
at oracle.security.idm.providers.libovd.util.LibOVDNonPagedSearchResponse.<init>(LibOVDNonPagedSearchResponse.java:47)
at oracle.security.idm.providers.libovd.util.LibOVDRealm.searchRoles(LibOVDRealm.java:540)
at oracle.security.idm.providers.libovd.util.LibOVDRealm.searchRoles(LibOVDRealm.java:495)
at oracle.security.idm.providers.libovd.LibOVDIdentityStore.search(LibOVDIdentityStore.java:300)
at oracle.security.idm.providers.libovd.LibOVDIdentityStore.searchRoles(LibOVDIdentityStore.java:594)
at oracle.tip.pc.services.identity.jps.JpsProvider.lookupGroup(JpsProvider.java:1065)
... 157 more

]]

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.