My Oracle Support Banner

Errors Importing a Portal With Security : Unable to update content item in state GENWWW (Doc ID 2060333.1)

Last updated on AUGUST 07, 2024

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.0 and later
Oracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.

Symptoms


When attempting to import a Portal with security,
the following error occurs.

ERROR

[2015-08-06T14:55:53.016-04:00] [WC_Spaces1] [ERROR] [WCS-44002] [oracle.webcenter.security.rolemapping.RoleManager] [tid: wc concurrency non-pooled worker thread] [userId: <USER>] [ecid: <ECID>] [APP: webcenter#11.1.1.4.0] The Role Mapping provider encountered an exception while performing security role mapping for service oracle.webcenter.doclib.[[
oracle.webcenter.security.rolemapping.spi.RoleMappingSPIException: Cannot propagate account for the portal folder Portal1 to its contents.
at oracle.webcenter.doclib.internal.spaces.UCMRoleMappingLogic.wrappedException(UCMRoleMappingLogic.java:1040)
at oracle.webcenter.doclib.internal.spaces.UCMRoleMappingLogic.propagateAccounts(UCMRoleMappingLogic.java:736)
at oracle.webcenter.doclib.internal.spaces.TxnRoleMapper.persistPropagateAccount(TxnRoleMapper.java:449)
...

Caused by: oracle.stellent.ridc.protocol.ServiceException: Unable to update the content item information for 'WCC_DEV-000438'. Unable to update content item in state GENWWW.
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
at oracle.webcenter.doclib.core.WCPServiceResponse.getResponseAsBinder(WCPServiceResponse.java:86)
...


[2015-08-06T14:55:53.020-04:00] [WC_Spaces1] [NOTIFICATION] [WCS-12045] [oracle.webcenter.lifecycle.operation.ImportOperation] [tid: wc concurrency non-pooled worker thread] [userId: <USER>] [ecid: <ECID>] [APP: webcenter#11.1.1.4.0] Operation aborted because of an exception thrown by subunit (oracle.webcenter.lifecycle.configuration.HandlerConfigurationUnit)[[
oracle.webcenter.lifecycle.LifecycleException: Unexpected error occurred while importing the security policy. Unable to import the policy store.
An internal JPS error occurred while exporting / importing application roles.
at oracle.webcenter.webcenterapp.internal.model.lifecycle.WebCenterSecurityLifecycleHandler.handleSecurityException(WebCenterSecurityLifecycleHandler.java:1643)
at oracle.webcenter.webcenterapp.internal.model.lifecycle.WebCenterSecurityLifecycleHandler.importScopedPolicies(WebCenterSecurityLifecycleHandler.java:542)
...

Caused by: oracle.webcenter.security.model.internal.WCSecurityException: An internal JPS error occurred while exporting / importing application roles.
at oracle.webcenter.security.common.AppSecurityPolicyManager.overwriteRolesAndPermissions(AppSecurityPolicyManager.java:380)
at oracle.webcenter.webcenterapp.internal.model.lifecycle.WebCenterSecurityLifecycleHandler.importScopedPolicies(WebCenterSecurityLifecycleHandler.java:494)
... 15 more
Caused by: oracle.webcenter.security.rolemapping.RoleMappingException: The Role Mapping provider encountered an exception while performing security role mapping for service oracle.webcenter.doclib.
at oracle.webcenter.security.rolemapping.RoleManager.postProcessRoleMappingOperations(RoleManager.java:215)
at oracle.webcenter.security.common.AppSecurityPolicyManager.overwriteRolesAndPermissions(AppSecurityPolicyManager.java:364)
... 16 more
Caused by: oracle.webcenter.security.rolemapping.spi.RoleMappingSPIException: Cannot propagate account for the portal folder Portal1 to its contents.
at oracle.webcenter.doclib.internal.spaces.UCMRoleMappingLogic.wrappedException(UCMRoleMappingLogic.java:1040)
at oracle.webcenter.doclib.internal.spaces.UCMRoleMappingLogic.propagateAccounts(UCMRoleMappingLogic.java:736)
at oracle.webcenter.doclib.internal.spaces.TxnRoleMapper.persistPropagateAccount(TxnRoleMapper.java:449)
at oracle.webcenter.doclib.internal.spaces.TxnRoleMapper.persistPublicAuthPerms(TxnRoleMapper.java:360)
at oracle.webcenter.doclib.internal.spaces.TxnRoleMapper.persistChanges(TxnRoleMapper.java:240)
at oracle.webcenter.doclib.internal.spaces.DoclibServiceRoleProvider.shutdown(DoclibServiceRoleProvider.java:131)
at oracle.webcenter.security.rolemapping.RoleManager.postProcessRoleMappingOperations(RoleManager.java:207)
... 17 more
Caused by: oracle.stellent.ridc.protocol.ServiceException: Unable to update the content item information for 'WCC_DEV-000438'. Unable to update content item in state GENWWW.
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
at oracle.webcenter.doclib.core.WCPServiceResponse.getResponseAsBinder(WCPServiceResponse.java:86)
at oracle.webcenter.doclib.internal.spaces.UCMSpacesRepositoryLogic.propagatePortalAccounts(UCMSpacesRepositoryLogic.java:1765)
at oracle.webcenter.doclib.internal.spaces.UCMSpacesRepositoryLogic.propagateAccounts(UCMSpacesRepositoryLogic.java:1633)
at oracle.webcenter.doclib.internal.spaces.UCMRoleMappingLogic.propagateAccounts(UCMRoleMappingLogic.java:730)
... 22 more

 


Importing the Portal without security works.
However it is not possible to change the Access of the Portal from Private to Public after Import.

 

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


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