My Oracle Support Banner

When Loading WLST as a Jython Module, cmo Object Reference Commands Fail with AttributeError (Doc ID 1481414.1)

Last updated on MARCH 11, 2020

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.
This issue occurs when an advanced user chooses to import WebLogic Scripting Tool (WLST) as a Jython module.

Symptoms

After setting up WLST as a Jython module, attempting to run a python script that contains a the command cmo.setUserPassword('password') command fails with the following error:

Changes

 Instructions were followed in the WLS documentation "Importing WLST as a Jython Module" prior to executing the python script.

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.