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 SEPTEMBER 12, 2022

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.


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:


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


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.