com.bea.p13n.entitlements.common.PolicyMgmtAccessException: Attempt to access Entitlement Policy Mgmt API by user in invalid role. Entitlement Policy operation attempted by disallowed user ["Unable to migrate Visitor policy ref data of webApp PSVdriveEarWebdav from LDAP to RDBMS"].

Oracle Community | 666705 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception in Entitlements Page of a Portal Application

    Oracle Community | 1 decade ago | 666705
    com.bea.p13n.entitlements.common.PolicyMgmtAccessException: Attempt to access Entitlement Policy Mgmt API by user in invalid role. Entitlement Policy operation attempted by disallowed user ["Unable to migrate Visitor policy ref data of webApp PSVdriveEarWebdav from LDAP to RDBMS"].

    Root Cause Analysis

    1. com.bea.p13n.entitlements.common.PolicyCreateException

      Attempt to create a policy failed due to invalid entitlement expression syntax or other persistence error. The resource at "type=<wlp>, EntApp=PSVdriveEar, Webapp=PSVdriveEarWebdav, Resource=com_bea_p13n_visitor_policy_pool_ref, Capability=" with associated policy "RP_REF" failed to be created.

      at com.bea.p13n.entitlements.management.internal.RolePolicyDelegate.createRole()
    2. com.bea.p13n
      SecurityPolicyManager.getSecurityPolicy
      1. com.bea.p13n.entitlements.management.internal.RolePolicyDelegate.createRole(RolePolicyDelegate.java:355)
      2. com.bea.p13n.entitlements.management.internal.RolePolicyDelegate.createRole(RolePolicyDelegate.java:279)
      3. com.bea.p13n.entitlements.management.internal.PolicyRefManager.createPolicyRefDoc(PolicyRefManager.java:111)
      4. com.bea.p13n.entitlements.management.internal.PolicyRefManager.checkForPolicyRefDoc(PolicyRefManager.java:203)
      5. com.bea.p13n.entitlements.management.internal.PolicyRefManager.getPolicyRefList(PolicyRefManager.java:227)
      6. com.bea.p13n.entitlements.common.management.internal.PolicyRefMigration.migrateVisitorPolicyRefData(PolicyRefMigration.java:309)
      7. com.bea.p13n.entitlements.common.management.internal.PolicyRefMigration.access$500(PolicyRefMigration.java:49)
      8. com.bea.p13n.entitlements.common.management.internal.PolicyRefMigration$PersistenceInitializer.initializePersistence(PolicyRefMigration.java:162)
      9. com.bea.p13n.entitlements.common.management.internal.PolicyRefMigration$PersistenceInitializer.initializePersistence(PolicyRefMigration.java:98)
      10. com.bea.p13n.entitlements.common.management.internal.PolicyRefMigration$PersistenceInitializer.<clinit>(PolicyRefMigration.java:77)
      11. com.bea.p13n.entitlements.common.management.internal.PolicyRefMigration.getPersistenceInitialized(PolicyRefMigration.java:63)
      12. com.bea.p13n.entitlements.management.internal.RDBMSPolicyRefManager.initializePersistence(RDBMSPolicyRefManager.java:539)
      13. com.bea.p13n.entitlements.management.internal.RDBMSPolicyRefManager.getResourceElement(RDBMSPolicyRefManager.java:260)
      14. com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:226)
      15. com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
      15 frames
    3. com.bea.content
      ContentUpgradeListener.postStart
      1. com.bea.content.manager.internal.ContentUpgradeListener.hasUpgradeBeenDone(ContentUpgradeListener.java:105)
      2. com.bea.content.manager.internal.ContentUpgradeListener.postStart(ContentUpgradeListener.java:58)
      2 frames
    4. weblogic.application.internal
      BaseLifecycleFlow$PostStartAction.run
      1. weblogic.application.internal.flow.BaseLifecycleFlow$PostStartAction.run(BaseLifecycleFlow.java:209)
      1 frame
    5. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    6. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    7. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:95)
      2. weblogic.application.internal.flow.BaseLifecycleFlow.postStart(BaseLifecycleFlow.java:62)
      3. weblogic.application.internal.flow.TailLifecycleFlow.activate(TailLifecycleFlow.java:33)
      4. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
      4 frames
    8. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    9. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
      2. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
      2 frames
    10. weblogic.deploy.internal
      ActivateOperation.activateDeployment
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      2. weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565)
      3. weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
      3 frames