My Oracle Support Banner

WLST Security Command: CreateAppRole Produces Error : Could Not Find MBean Operation (Doc ID 2695788.1)

Last updated on MARCH 01, 2023

Applies to:

Oracle Platform Security for Java - Version to [Release 12c]
Information in this document applies to any platform.


In OBIEE version,
Customer has a requirement to add quite a lot new application roles to their OBIEE application, which they wanted to achieve by WLST script. However the WLST Command createAppRole (appStripe="obi", appRoleName='<APP_ROLE_NAME>') runs into following error .


wls:/bi/serverConfig/> createAppRole (appStripe="obi", appRoleName='<APP_ROLE_NAME>')
DomainRuntime MBeanServer is not enabled on a Managed Server.

COMMAND FAILED due to an unknown reason, Check the stack trace for details
Traceback (innermost last):
  File "", line 1, in ?
  File "/usr/app/fmw/oracle_common/modules/internal/clients/oracle.fmwshare.pyjar.jar!/wlstScriptDir/", line 921, in createAppRole
  File "/usr/app/fmw/oracle_common/modules/internal/clients/oracle.fmwshare.pyjar.jar!/wlstScriptDir/", line 902, in createAppRoleImpl
  at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: java.lang.UnsupportedOperationException: Could not find MBean operation "createApplicationRole(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)" for MBean registered under "" and implemented by "class"
  ... 1 more

IMP NOTE: When creating new application role through Enterprise Manager UI, they're able to create it successfully.


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

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