My Oracle Support Banner

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

Last updated on SEPTEMBER 14, 2023

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 <LOCATION_PATH>/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?

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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