My Oracle Support Banner

Unable to Add Security Policy "Reserve" Method to Specific Data Source - EnDuplicateKeyException Occurs (Doc ID 2305881.1)

Last updated on OCTOBER 01, 2024

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

Configuring Oracle WebLogic Server and unable to add security policy for "Reserve" method to a particular data source.

It only occurs to a specific data source and with the Reserve specific method, i.e. others methods can be added and issue does not occur to others data sources.

It fails with below EnDuplicateKeyException exception:

  

  

 

Issue was reproduced by following below steps:

1. Log in to WebLogic Server Administration Console.
2. Go to data sources under services .
3. Navigate to a specific data source
4. Click on "security" tab and then create a role under "Role" subtab.
5. Click on Policy subtab and then choose "reserve" from Administrative methods and create a policy with condition having the newly created role.
6. When try to save it throws "weblogic.management.utils.AlreadyExistsException" but there is no other policy defined of the same kind.

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
References


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