My Oracle Support Banner

How do I write a script that imports and allows for use of WLST commands (Doc ID 2278208.1)

Last updated on SEPTEMBER 22, 2020

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms


When trying to import a .py script that includes functions for using Node Manager commands like nmConnect, the script is failing. If the script containing the functions is run independently then the commands work.

Example function, note that this is not a complete 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
Cause
Solution


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