WLST os.getenv Not Working
(Doc ID 1349711.1)
Last updated on MARCH 12, 2021
Applies to:Oracle WebLogic Server - Version 10.3.2 and later
Information in this document applies to any platform.
WLST is not able to retrieve operating system environment variables using the os.getenv command.
Steps which reproduce the issue:
- Open a terminal session to the admin server.
- cd $DOMAIN_HOME/bin
- Execute the following command:
This does not return any information. If the os.getenv is replaced by System.getenv, however, it works as expected.
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