WebLogic Scripting Tool - Introduction

 

  1. Guide to This Document
  2. Related Documentation
  3. WLST Sample Scripts
  4. New and Changed WLST Features in This Release

 


Guide

  1. Using the WebLogic Scripting Tool,Creating Domains Using WLST Offline,
  2. Managing the Server Life Cycle,
  3. Navigating MBeans (WLST Online),
  4. Configuring Existing Domains,
  5. Updating the Deployment Plan,
  6. Getting Runtime Information,
  7. WLST Online and Offline Command Summary,
  8. WLST Command and Variable Reference,
  9. WLST Deployment Objects,
  10. FAQs: WLST,

 


Related

  1. Using Ant Tasks to Configure and Use a WebLogic Server Domain
  2. Deployment Tools
  3. Administration Console Online Help
  4. Creating WebLogic Domains Using the Configuration Wizard
  5. Creating Templates and Domains Using the Pack and Unpack Commands
  6. Developing Custom Management Utilities with JMX
  7. 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
  1. Connects WLST to an Administration Server
  2. Starts an edit session
  3. Creates 10 Managed Servers
  4. Creates two clusters
  5. Assigns servers to each cluster
  6. Disconnects WLST from the server
cluster_deletion.py Removes the clusters and servers created in cluster_creation.py.
configJMSSystemResource.py
  1. Connects WLST to an Administration Server
  2. Starts an edit session
  3. Creates two JMS Servers
  4. Targets them to the Administration Server
  5. 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
  1. Connects WLST to an Administration Server
  2. Starts an edit session
  3. 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
  1. Creates a simple WebLogic domain demonstrating how to open a domain template
  2. create and edit configuration objects
  3. 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
  1. Create a single-cluster domain
  2. Create three Managed Servers
  3. 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