Last updated on NOVEMBER 05, 2016
Applies to:Oracle Weblogic Server - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
In a WLST Python Script while the Propeties are loaded using loadProperties() command some of the properties e.g "username" and "domainName" does not stay throughout the entire WLST Session whereas other stays intact throughout the WLST Session. Howevere if the Name of the property is changed in the property file e.g.
username ------ To ------- Username
domainName ------ To ------- DomainName
then they Behave similar to other properties and persists throughout the WLST Session. Persistence had been tested using print command in the WLST/Python Script.
Below is the simple script which can be used to demonstrate the scenario:-
The Property Values then have to be loaded again if you want to use them in further commands. However if the Property Names are different than username or domainName there are no issues they are never lost throughout the WLST Session.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms