Error While Running softlockEnableDisable.py Post Patch Steps ImportError: no module named admin (Doc ID 2124689.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

Customer notice following error while running softlockEnableDisable.py

$ ./wlst.sh /fmw/product/OAM/oam/server/wlst/scripts/utilities/softlockEnableDisable.py

CLASSPATH=<snip>::

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Problem invoking WLST - Traceback (innermost last):
 File "xxxx/server/wlst/scripts/utilities/softlockEnableDisable.py", line 7, in ?
ImportError: no module named admin

It is not able to find following in script:
from oracle.security.am.admin.config.mgmt.model import IntegerSettings

Please advise if he need to run this step?

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