Using WLST in Script Mode
While you can use WLST in interactive mode to quickly make configuration changes in a development environment, that mode offers only limited scripting language features and is cumbersome to use in a real-life WebLogic environment. You can use WLST scripts to automate configuration of the servers and deployment of applications. A WLST script is a text file with the .py extension, and includes WLST commands. WebLogic Server provides online and offline sample WLST scripts. For example, the sample online script cluster_creation.py lets you create an entire cluster with ten Managed Servers. Similarly, the basic WLSdomain.py script lets you create a simple WebLogic domain for development purposes. You'll find the online scripts ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access