weblogic.security.spi.RoleCreationException: [Security:090320]Failed to create role: WebLogic Server Is Failing To Create Role During The Deployment phase

(Doc ID 1360948.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.2 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

The below exception was seen repeatedly in the WebLogic Server logs after EJB deployment:

<1314736860851> <BEA-101198> <Could not deploy role: serveradmins for Web application: OCMRepeater.war application: OCMRepeater.
weblogic.security.service.RoleCreationException: weblogic.security.spi.RoleCreationException: [Security:090320]Failed to create role
at com.bea.common.security.internal.service.RoleDeploymentServiceImpl$DeploymentHandlerImpl.deployRole(RoleDeploymentServiceImpl.java:165)
at weblogic.security.service.WLSRoleDeploymentServiceWrapper$DeploymentHandlerImpl.deployRole(WLSRoleDeploymentServiceWrapper.java:83)
at weblogic.security.service.RoleManager$HandlerAdaptor.deployRole(RoleManager.java:344)
at weblogic.security.service.RoleManager.deployRole(RoleManager.java:228)
at weblogic.servlet.security.internal.WebAppSecurityWLS.deployRole(WebAppSecurityWLS.java:94)
at weblogic.servlet.security.internal.WebAppSecurityWLS.deployRoles(WebAppSecurityWLS.java:147)
at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:142)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1199)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1131)

Caused By: weblogic.security.spi.RoleCreationException: [Security:090320]Failed to create role
at weblogic.security.providers.xacml.DeployableRoleProviderV2Helper.deployRole(DeployableRoleProviderV2Helper.java:116)
at weblogic.security.providers.xacml.DeployableRoleProviderV2Helper.deployRole(DeployableRoleProviderV2Helper.java:166)
at weblogic.security.providers.xacml.authorization.XACMLRoleMapperProviderImpl.deployRole(XACMLRoleMapperProviderImpl.java:239)
at com.bea.common.security.internal.legacy.service.RoleDeployerProviderImpl$V2Adapter$DeploymentHandlerImpl.deployRole(RoleDeployerProviderImpl.java:80)
at com.bea.common.security.internal.service.RoleDeploymentServiceImpl$DeploymentHandlerImpl.deployRole(RoleDeploymentServiceImpl.java:158)
at weblogic.security.service.WLSRoleDeploymentServiceWrapper$DeploymentHandlerImpl.deployRole(WLSRoleDeploymentServiceWrapper.java:83)
at weblogic.security.service.RoleManager$HandlerAdaptor.deployRole(RoleManager.java:344)
at weblogic.security.service.RoleManager.deployRole(RoleManager.java:228)


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