Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Cannot delete or modify role in Enterprise Manager - 'The search for role Accounting failed.'

I'm trying to delete or modify a role in the Enterprise Manager > Core Application > Application Roles screen.
I'm EM 11g
Whenever I try to save changes, or to delete the role all together, I get an error 'The search for role Accounting failed'
Looking in the log, I have these messages which I believe are related:
oracle.sysman.emas.model.security.AppRolesMainAdminBean object has been initialized successfully. | Notification |
Could not find MBean operation "findDefaultRealm()" for MBean registered under "com.oracle.jps:type=JpsApplicationPolicyStore" and implemented by "class oracle.security.jps.mas.mgmt.jmx.policy.JpsApplicationPolicyStoreImpl" | Warning |
Failed to get WLS users. | Error |
Failed to get WLS users. | Notification |
oracle.sysman.emas.pagemodel.security.AppRolesMainPageModel object has been initialized successfully. | Notification |
Answers
-
Hi, did you try by WLST ?
I already saw cases where the EM gui wasn't working anymore but by command line using WLST worked without problems.
You go to your FMW home, then run ./Oracle_BI1/common/bin/wlst.sh (really take this one because there are 1-2 others which aren't going to work).
When it open enter: connect('username', 'password', 'localhost:7001')
(change username by weblogic or your own admin account, password it's obvious and if EM isn't on the 7001 port put the right one)
Then : listAppRoles('obi')
to see the list of existing app roles and make sure your "Accounting" is really there.
And finally: deleteAppRole('obi', 'your app role name')
Look https://docs.oracle.com/cd/E21764_01/core.1111/e10043/managepols.htm#JISEC4331 for doc on the function and few others.
I'm actually not sure of you have first to remove your "Accounting" role from other roles in case you have inheritance before to delete it, can't remember ...
Once done quit() or exit() to disconnect and leave WLST.
0