Description

The WebLogic Scripting Tool (WLST) plug-in provides steps to automate the following deployment and management operations:

  • Deploy and undeploy applications
  • Start and stop applications
  • Start, stop, resume, and suspend servers

Quick Info

Product
HCL Launch
Type
plugin
Compatibility
HCL Launch version 7.0 or later
Created by
HCL Software
Version Name Action

9.1100786

launch-weblogic-wlst-9.1100786.zip

launch-weblogic-wlst-9.1100786.zip

9.1100786


Summary

The Oracle WebLogic Scripting Tool (WLST) plugin automates the deployment and management of applications on the Oracle WebLogic Server.

This plugin includes one or more steps, click Steps for step details and properties.

Compatibility

This plugin requires Oracle WebLogic Server versions 11g or later.

This plugin requires HCL Launch version 7.0 or later.

The steps in this plugin run on any agents that HCL Launch supports.

Installation

See Installing plugins in HCL Launch for installing and removing plugins.

History

The following table describes the changes made in each plugin version.

Plugin history details
Version Description
9 Minor enhancements

Usage

Step palette

To access this plugin in the palette, click Application Server > Java > WebLogic.

Steps

The following process steps are available in the Oracle WebLogic Scripting Tool (WLST) plugin.

Check Server Status

Use this step to check the status of a WebLogic server.

Input properties for the Check Server Status step
Name Type Description Required
Directory Offset String The directory offset relative to the current working directory where the step should run. No
Password String The password to use to authenticate with the WebLogic server. No
Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes
Server Name String The name of the WebLogic server. Yes
Server URL String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. No
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No

Deploy

Use this step to deploy an application to a WebLogic server.

Input properties for the Deploy step
Name Type Description Required
Application Name String The name of the application to deploy. No
Directory Offset String The directory offset relative to the current working directory where the step runs. No
File Name String The name of the file to deploy to the application. No
Password String The password to use to authenticate with the WebLogic server. No
URL String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. No
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Deploy SOA Composite Application

Use this step to deploy an Oracle SOA Composite Application to a WebLogic server.

Input properties for the Deploy SOA Composite Application step
Name Type Description Required
Directory Offset String The directory offset relative to the current working directory where the step runs. No
Optional Args String A comma-separated list of arguments to append to the sca_deployComposite command, in the form option=value with string values in single quotes. For example: overwrite=true, forceDefault=true, configplan=C:/path/to/configplan, partition=default. No
Password Password The password to use to authenticate with the WebLogic server. No
SAR Location String The absolute path to either a SAR file, a ZIP file that includes multiple SARS, MARS, or both, or an EAR file that contains a SAR file. Yes
SOA URL String URL of the server that hosts the SOA Infrastructure application (for example, https://myhost10:7001). Yes
URL String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. Yes
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Execute Script

Use this step to execute user defined python script files.

Input properties for the Execute Script step
Name Type Description Required
Directory Offset String The directory offset relative to the current working directory where the step should
run.
No
Script Files String User defined python scripts. Yes
WLST Path String The fully-qualified path of the WebLogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Resume Server

Use this step to resume a suspended WebLogic server.

Input properties for the Resume Server step
Name Type Description Required
Name Type Description Required
Directory Offset String The directory offset relative to the current working directory where the step should run. No
Password String The password to use to authenticate with the WebLogic server. No
Server Name String The name of the WebLogic server. Yes
Server URL String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. No
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Shutdown Server

Use this step to shut down a WebLogic server.

Input properties for the Shutdown Server step
Name Type Description Required
Directory Offset String The directory offset relative to the current working directory where the step should
run.
No
Password String The password to use to authenticate with the WebLogic server. No
Server Name String The name of the WebLogic server. Yes
Server URL String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. No
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Start Application

Use this step to start a deployed application.

Input properties for the Start Application step
Name Type Description Required
Application Name String The name of the application to deploy. No
Directory Offset String The directory offset relative to the current working directory where the step should run. No
Password String The password to use to authenticate with the WebLogic server. No
Server URL String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. No
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Start Server

Use this step to start a WebLogic server.

Input properties for the Start Server step
Name Type Description Required
Directory Offset String The directory offset relative to the current working directory where the step should
run.
No
Domain Directory String The directory where the domain is created. The default is ${MW_HOME}/user_projects/domains/${YOUR_DOMAIN}. Yes
Domain Name String The domain name that the WebLogic server exists in. Yes
Host Name String Host name of Node Manager. This argument defaults to localhost. No
NM Type String The Node Manager type. SSL is default. Note: If you specify plain for nmType, you must manually set the SecureListener parameter in WL_HOME/common/nodemanager/nodemanager.properties to false. Otherwise, the nmConnect command will fail. No
Password String The password to use to authenticate with the WebLogic server. No
Port String Port number of Node Manager. This default argument should be based on the Node Manager type, as follows: plain=5556, rsh=514, ssh=22, ssl=5556. If left blank, defaults to 5556. No
Server Name String The name of the WebLogic server. Yes
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Stop Application

Use this step to stop a running application.

Input properties for the Stop Application step
Name Type Description Required
Application Name String The name of the application to deploy. No
Directory Offset String The directory offset relative to the current working directory where the step should run. No
Password String The password to use to authenticate with the WebLogic server. No
Server URL String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. No
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Suspend Server

Use this step to suspend a WebLogic server that is running.

Input properties for the Suspend Server step
Name Type Description Required
Directory Offset String The directory offset relative to the current working directory where the step should run. No
Password String The password to use to authenticate with the WebLogic server. No
Server Name String The name of the WebLogic server. Yes
Server URL String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. No
Username String The user name use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path for the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes

Undeploy

Use this step to undeploy an application from the WebLogic server.

Input properties for the Undeploy step
Name Type Description Required
Application Name String The name of the application to undeploy. No
Directory Offset String The URL of the WebLogic server. The default WebLogic server URL is t3://localhost:7001. No
Directory Offset String The directory offset relative to the current working directory where the step should
run.
No
Password String The password to use to authenticate with the WebLogic server. No
Username String The user name to use to authenticate with the WebLogic server. No
User Config File String Overrides Username and Password. Name and location of a user configuration file which contains an encrypted username and password. No
User Key File String Overrides Username and Password. Name and location of the key file that is associated with the specified user configuration file and is used to decrypt it. No
WLST Path String The fully-qualified path of the Weblogic Scripting Tool directory. (ex. {oracle_home}/oracle_common/common/bin/) Yes