OES11g - How to clean the SM cache data

(Doc ID 1501854.1)

Last updated on NOVEMBER 07, 2016

Applies to:

Oracle Entitlements Server - Version 11.1.1.5.1 and later
Information in this document applies to any platform.

Goal

Using WLS SM with pull mode and distribute the policy, the following issue maybe happens :

When create the Role mapping policy and distributed and once distribution completed, decrypt the cache file and found that newly created the policy is available.
Delete the policy and distribute and once distribution completed then de crypt the cache file again now still we can see the deleted policy in the cache file.
Now if we create same role mapping policy again and distribute we can see this issue Policy object already exists exception in customer environment.

The following exception will be catched:

============================================================

  Caused by:
  oracle.security.jps.service.policystore.PolicyObjectAlreadyExistsException:
  UserRolePolicyROLE_POLICY_RULE Rule is already being used

Solution

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