Deployer Role is Unable to Create Datasource from WebLogic Server 12c Admin Console
(Doc ID 2461301.1)
Last updated on MAY 09, 2023
Applies to:
Oracle WebLogic Server - Version 12.1.3.0.0 to 12.2.1.3.0 [Release 12c]Information in this document applies to any platform.
Symptoms
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.
Save.
Log in to the Console with the user having Deployer roles. You will not find a new button to create data source.
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 |