Unable To Make Space Public In 11.1.1.4 - And Error Seen When Granting Privileges - Fatal error occurred while getting the roles for current scope (Doc ID 1304875.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 to 11.1.1.4.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

When creating a space in an 11.1.1.4 WebCenter installation, even if the option is selected to make the space PUBLIC, it is set back to private.  Even after updating the access to public manually access still remains private. There are no errors reported on the screen.

Also, the create page button is not visible on the screen when going to Edit Space -> Page.
The Moderator role doesn't seem to have the correct privileges.

When attempting to add privilege listed under Basic Services (that includes create page) the following error is seen :-

WCS#2011.02.25.13.20.53: Fatal error occurred while getting the roles for current scope.



There is an error see in the spaces diagnostic log as follows :-

[2011-02-28T09:54:25.787-05:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: MYUSER.1400556357] [ecid: 0004Hkwzgf_FKAlh0tbe4j0006zn00001F,0:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/community/view/pages/mgmt/CommunityAdministration-Roles.jspx] [[
oracle.webcenter.webcenterapp.security.WCSecurityException: Unable to revoke permission spacetest
at oracle.webcenter.webcenterapp.internal.model.security.WCSecurityManagerImpl.revokePermission(WCSecurityManagerImpl.java:1918)
at oracle.webcenter.spaces.internal.model.security.SpacesSecurityManagerImpl.revokePermission(SpacesSecurityManagerImpl.java:2983)
at oracle.webcenter.spaces.internal.model.security.SpacesSecurityManagerImpl.setPermissionToRole(SpacesSecurityManagerImpl.java:1419)
at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.updatePermissions(WebCenterSecurityDC.java:1242)
at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.saveRoles(WebCenterSecurityDC.java:1130)
at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.saveRoles(WebCenterSecurityDC.java:965)
...
Caused by: oracle.security.jps.service.policystore.PolicyObjectNotFoundException: JPS-04205: Cannot revoke permissions.
at oracle.security.jps.internal.policystore.entitymanager.impl.GrantManagerImpl.store_revoke_common(GrantManagerImpl.java:937)
at oracle.security.jps.internal.policystore.entitymanager.impl.GrantManagerImpl.store_revoke(GrantManagerImpl.java:765)
at oracle.security.jps.internal.policystore.entitymanager.impl.GrantManagerImpl.internal_revoke(GrantManagerImpl.java:1543)
at oracle.security.jps.internal.policystore.entitymanager.impl.GrantManagerImpl.revoke(GrantManagerImpl.java:2908)
at oracle.security.jps.internal.policystore.JpsPolicy.revoke(JpsPolicy.java:1098)
at oracle.webcenter.webcenterapp.internal.model.security.WCSecurityManagerImpl$9.run(WCSecurityManagerImpl.java:1908)
at oracle.webcenter.webcenterapp.internal.model.security.WCSecurityManagerImpl.revokePermission(WCSecurityManagerImpl.java:1903)
... 121 more

]]
[2011-02-28T09:54:25.800-05:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: DESAI.MANOJ.BHARATKUMAR.1400556357] [ecid: 0004Hkwzgf_FKAlh0tbe4j0006zn00001F,0:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/community/view/pages/mgmt/CommunityAdministration-Roles.jspx] WCS#2011.02.28.09.54.25: Fatal error occurred while getting the roles for current scope.
[2011-02-28T09:54:25.801-05:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: DESAI.MANOJ.BHARATKUMAR.1400556357] [ecid: 0004Hkwzgf_FKAlh0tbe4j0006zn00001F,0:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/community/view/pages/mgmt/CommunityAdministration-Roles.jspx] [[
oracle.webcenter.webcenterapp.WebCenterException: Fatal error occurred while getting the roles for current scope.
at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.saveRoles(WebCenterSecurityDC.java:1155)
at oracle.webcenter.webcenterapp.internal.model.security.WebCenterSecurityDC.saveRoles(WebCenterSecurityDC.java:965)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
....

Changes

Webcenter has been configured to work with OID version 10.1.4.3.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms