OPSS - WLST GrantAppRole script Fails To Work With AD Group (Doc ID 2170562.1)

Last updated on AUGUST 23, 2016

Applies to:

Oracle Platform Security for Java - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3.0.0 version OSB, Java Platform Security

Trying to run the grantAppRole fails to work with AD group, from  middleware_12c_Home/oracle_common/common/wlst/jpsWlstCmd.py

The error saying that it cannot find weblogic_administrators in groups from the Weblogic's security realm although it was added in the Weblogic's security realm.


File "/opt/oracle/middleware_12c/oracle_common/common/wlst/jpsWlstCmd.py", line 638, in grantAppRoleImpl
javax.management.MBeanException: The search for role weblogic_administrators failed.
  at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: oracle.as.jmx.framework.exceptions.ManagementException: The search for role weblogic_administrators failed.
  ... 1 more




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms