I was using JMX to display the connectionPool statistics from webLogic, and kept getting messages
<Error> <Diagnostics> <BEA-320084> <The user principals=[] does not have authorization to view the logs.>
I solved this by using the webLogic console
- Click “Security Realms” in the Domain Stucture box on the left hand side of the home page
- Click on the name of your realm (myrealm)
- Click on “Roles and Policies”
- Click on “Realm Policies”
- Expand Domain and select “View Policy Conditions” for “View Log”
- Click on Add Condition
- Select the role
- Click on Finish
- Click on Save
The change is available immediately on “Save”.
One thought on “WebLogic message does not have authorization to view the logs”