Home
/
Middleware
/
Oracle WebLogic Server
1/13
Contents
Title and Copyright Information
Preface
Documentation Accessibility
Conventions
1
Introduction and Roadmap
Document Scope and Audience
Guide to This Document
Related Documentation
WLST Sample Scripts
WLST Online Sample Scripts
WLST Offline Sample Scripts
2
Using the WebLogic Scripting Tool
Using WLST Online or Offline
Using WLST Online
Using WLST Offline
Interactive Mode, Script Mode, and Embedded Mode
Interactive Mode
Script Mode
Embedded Mode
Security for WLST
Securing the WLST Connection
Securing Access to Configuration Data
Securing Access from WLST Online
Writing and Reading Encrypted Configuration Values
Securing Access to Security Data
Main Steps for Using WLST in Interactive or Script Mode
Invoking WLST
Invoking WLST Using Provided Shell Scripts
Invoking WLST Using the java Command
Running Scripts
Invoking WLST From the Start Menu
Exiting WLST
Syntax for WLST Commands
Considerations When Invoking Multiple WLST Instances
Redirecting Error and Debug Output to a File
Getting Help
Running WLST from Ant
Parameters
Parameters Specified as Nested Elements
script
classpath
Examples
Example 1
Example 2
Example 3
Importing WLST as a Jython Module
Customizing WLST
Adding Integrated Help for Custom Commands
Sample Scripts For Defining new WLST Commands
3
Creating WebLogic Domains Using WLST Offline
Creating and Using a Domain Template (Offline)
Creating and Updating a WebLogic Domain
Browsing Information About the Configuration Hierarchy (Offline)
Editing a WebLogic Domain (Offline)
Alternative: Using the configToScript Command
Considerations for Clusters, JDBC, and JMS Resources
Creating a Managed Server Domain on a Remote Machine
4
Managing the Server Life Cycle
Using WLST and Node Manager to Manage Servers
Using Node Manager to Start Servers on a Machine
Using Node Manager to Start Managed Servers in a WebLogic Domain or Cluster
Starting and Managing Servers Without Node Manager
Starting an Administration Server Without Node Manager
Managing Server State Without Node Manager
5
Navigating MBeans (WLST Online)
Navigating and Interrogating MBeans
Changing the Current Management Object
Navigating and Displaying Configuration MBeans Example
Browsing Runtime MBeans
Navigating and Displaying Runtime MBeans Example
Navigating Among MBean Hierarchies
Finding MBeans and Attributes
Accessing Other WebLogic MBeans and Custom MBeans
Accessing Custom MBeans in the Domain Runtime MBean Server
Accessing Custom MBeans in the Edit MBean Server
6
Configuring Existing WebLogic Domains
Using WLST Online to Update an Existing WebLogic Domain
Tracking Configuration Changes
Undoing or Canceling Changes
Additional Operations and Attributes for Change Management
Using WLST Offline to Update an Existing WebLogic Domain
Managing Security Data (WLST Online)
Determining If You Need to Access the Edit Hierarchy
Creating a User
Adding a User to a Group
Verifying Whether a User Is a Member of a Group
Listing Groups to Which a User Belongs
Listing Users and Groups in a Security Realm
Changing a Password
Protecting User Accounts in a Security Realm
Set Consecutive Invalid Login Attempts
Unlock a User Account
Configuring Additional LDAP Authentication Providers
Deploying Applications
Using WLST Online to Deploy Applications
Using WLST Offline to Deploy Applications
7
Updating the Deployment Plan
8
Getting Runtime Information
Accessing Runtime Information: Main Steps
Script for Monitoring Server State
Script for Monitoring the JVM
Configuring Logging
Working with the WebLogic Diagnostics Framework
A
WLST Deployment Objects
WLSTPlan Object
WLSTProgress Object
B
FAQs: WLST
General WLST
Jython Support
Using WLST
Scripting on this page enhances content navigation, but does not change the content in any way.