WebLogic Scripting Tool - Introduction
- Guide to This Document
- Related Documentation
- WLST Sample Scripts
- New and Changed WLST Features in This Release
Guide
- Using the WebLogic Scripting Tool,Creating Domains Using WLST Offline,
- Managing the Server Life Cycle,
- Navigating MBeans (WLST Online),
- Configuring Existing Domains,
- Updating the Deployment Plan,
- Getting Runtime Information,
- WLST Online and Offline Command Summary,
- WLST Command and Variable Reference,
- WLST Deployment Objects,
- FAQs: WLST,
Related
- Using Ant Tasks to Configure and Use a WebLogic Server Domain
- Deployment Tools
- Administration Console Online Help
- Creating WebLogic Domains Using the Configuration Wizard
- Creating Templates and Domains Using the Pack and Unpack Commands
- Developing Custom Management Utilities with JMX
- WebLogic SNMP Management Guide
WLST Sample Scripts
The WLST online sample scripts demonstrate how to perform administrative tasks and initiate WebLogic Server configuration changes while connected to a running server. WLST online scripts are located in...
SAMPLES_HOME\server\examples\src\examples\wlst\online
WLST Sample Script Description cluster_creation.py
- Connects WLST to an Administration Server
- Starts an edit session
- Creates 10 Managed Servers
- Creates two clusters
- Assigns servers to each cluster
- Disconnects WLST from the server
cluster_deletion.py Removes the clusters and servers created in cluster_creation.py. configJMSSystemResource.py
- Connects WLST to an Administration Server
- Starts an edit session
- Creates two JMS Servers
- Targets them to the Administration Server
- Creates JMS topics, queues, and templates in a JMS System module The JMS queues and topics are targeted using sub-deployments.
deleteJMSSystemResource.py Removes the JMS System module created by configJMSSystemResource.py. jdbc_data_source_creation.py
- Connects WLST to an Administration Server
- Starts an edit session
- Creates a JDBC data source called myJDBCDataSource.
jdbc_data_source_deletion.py Removes the JDBC data source created by jdbc_data_source_creation.py.
WLST Offline Sample Scripts
The WLST offline sample scripts demonstrate how to create domains using the domain templates that are installed with the software. The WLST offline scripts are located in...
WL_HOME\common\templates\scripts\wlst
WLST Sample Script Description basicWLSDomain.py
- Creates a simple WebLogic domain demonstrating how to open a domain template
- create and edit configuration objects
- write the domain configuration information to the specified directory
The sample consists of a single server, representing a typical development environment. This type of configuration is not recommended for production environments.
The script uses the Basic WebLogic Server Domain template.
clusterMedRecDomain.py
- Create a single-cluster domain
- Create three Managed Servers
- Assign them to a cluster
The script uses the Basic WebLogic Server Domain template and extends it using the Avitek Medical Records Sample extension template.
distributedQueues.py Demonstrates two methods for creating distributed queues. The script uses the Basic WebLogic Server Domain template and extends it using the Avitek Medical Records Sample.
sampleMedRecDomain.py Create a domain that defines resources similar to those used in the Avitek MedRec sample. This example does not recreate the MedRec example in its entirety, nor does it deploy any sample applications. The script uses the Basic WebLogic Server Domain template.
New and Changed WLST Features in This Release
What's New in WebLogic Server