11.1.1.8.x BP Post-Install Step Fails With JPS-04204 After revokePermission() Command (Doc ID 1672945.1)

Last updated on OCTOBER 06, 2015

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

When calling the revokePermission() command as per one of the Post-Installation instructions of WebCenter Portal 11.1.1.8.x Bundle Patch README, it fails with JPS-04204 error as following:

wls:/WCPDomain/serverConfig> revokePermission(appStripe = "webcenter", principalClass = "oracle.security.jps.service.policystore.ApplicationRole" ,principalName = "webcenter#-#defaultpublic", codeBaseURL = None, permClass = "oracle.webcenter.page.model.security.CustomPagePermission", permTarget = "oracle_webcenter_page_scopedMD_s8bba98ff_4cbb_40b8_beee_296c916a23ed_businessRolePages_UserProfileMainView_v2PageDef", permActions = "view")
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)

Command FAILED, Reason: JPS-04204: Cannot revoke permissions.

Traceback (innermost last):
File "<console>", line 1, in ?
File "/home/fm1111/product/Oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py", line 1236, in revokePermission
File "/home/fm1111/product/Oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py", line 1220, in revokePermissionImpl
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.invoke(Unknown Source)
at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:918)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:916)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
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)

javax.management.MBeanException: javax.management.MBeanException: JPS-04204: Cannot revoke permissions.

 

Changes

 The symptom may occur during doing the Post-Installation steps after applied the 11.1.1.8.x Bundle Patch.

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