Deployer Role is Unable to Create Datasource from WebLogic Server 12c Admin Console
(Doc ID 2461301.1)
Last updated on JUNE 11, 2021
Applies to:Oracle WebLogic Server - Version 184.108.40.206.0 to 220.127.116.11.0 [Release 12c]
Information in this document applies to any platform.
Unable to create datasource from Weblogic console. The "New" and "Delete" Button above the datasource table is just not visible
Create a user and assign the role as Deployer.
Select myrealm -> Configuration -> General.
Enable Use Authorization Providers to Protect JMX Access.
Restart the server (manadatory) and relogin as administrator.
Go to Security Realms -> myrealm -> Roles and Policies.
Go to Roles and Policies -> Realm Policies.
Select JMX Policy Editor.
GLOBAL SCOPE would be enabled by default. Click next.
You will see a list of MBean Types.
Expand weblogic.management.configuration tree.
Select DomainMBean and click next.
You will see a list of Attributes or Operations.
Expand Operations: Permission to Invoke tree.
Select createJDBCSystemResource and click the Create Policy button.
On the Edit JMX Policies page, click Add Conditions.
Select Role and add Deployer and Operator Role to the condition.
Log in to the Console with the user having Deployer roles. You will not find a new button to create data source.
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