Вы находитесь на странице: 1из 8

Commands

wls:/offline> help()

WLST is a command line scripting tool to configure and administer WebLogic Server. Try:

help('all')

List all WLST commands available.

help('browse')

List commands for browsing the hierarchy.

help('common')

List the most commonly used commands.

help('control')

List commands for controlling the domain/server.

help('deployment')

List commands for deploying applications.

help('diagnostics')

List commands for performing diagnostics.

help('editing')

List commands for editing the configuration.

help('information')

List commands for displaying information.

help('lifecycle')

List commands for managing life cycle.

help('nodemanager')

List commands for using Node Manager.

help('offline')

List all offline commands available.

help('online')

List all online commands available.

help('trees')

List commands use to navigate MBean hierarchy.

help('variables')

List all global variables available.

wls:/offline>

wls:/offline> help('browse')

Browse the configuration hierarchy.

help('cd')

Navigate the hierarchy of beans.

help('currentTree')

Return the current location in the hierarchy.

help('prompt')

Toggle prompt information.

help('pwd')

Display the current working directory.

wls:/offline> help('common')

Commonly used commands

help('connect')

Connect WLST to a WebLogic Server instance.

help('create')

Create a configuration bean.

help('deploy')

Deploy an application.

help('exit')

Exit WLST from the user session.

help('find')

Find MBeans and attributes.

help('man')

Display help from MBeanInfo.

help('startEdit')

Start a configuration edit session.

help('startServer')

Start the Administration Server.

Control domains or servers.

help('addTemplate')

help('closeDomain')

help('closeTemplate')

help('connect')

help('createDomain')

help('disconnect')

help('exit')

help('readDomain')

help('readTemplate')

help('updateDomain')

help('writeDomain')

help('writeTemplate')

Extend the current domain. Close the current domain. Close the current domain template. Connect WLST to a WebLogic Server instance. Create a new domain. Disconnect WLST. Exit WLST from the user session. Open an existing domain for updating. Open an existing domain template. Update and save the current domain. Write the domain configuration information. Write the domain template.

wls:/offline> help('deployment')

Deploy applications. help('deploy')

Deploy an application.

help('distributeApplication')

help('getWLDM')

help('loadApplication')

help('redeploy')

help('startApplication')

help('stopApplication')

help('undeploy')

Copy the deployment bundle to targets.

Return the WebLogic DeploymentManager object.

Load an application and deployment plan. Reload classes and redeploys an application. Start an application.

Stop an application, making it unavailable to users. Undeploy an application.

help('updateApplication') deployment plan.

wls:/offline> help('diagnostics')

Update an application configuration using a new

Get server diagnostics help('exportDiagnosticData')

Execute a query (offline).

help('exportDiagnosticDataFromServer')

Execute a query (online).

wls:/offline> help('editing')

Edit the configuration. help('activate') help('assign') help('assignAll') help('cancelEdit') help('create') help('delete') help('encrypt') help('get')

Activate the changes.

Assign resources to one or more destinations. (Deprecated) Assign all applications or services. Cancel an edit session. Create a configuration bean. Delete a configuration bean. Encrypt the specified string. Return the value of the specified attribute.

help('getActivationTask')

Return the latest ActivationTaskMBean.

help('invoke')

help('isRestartRequired')

Invoke a management operation on the current bean.

Determine whether a server restart is required.

help('loadDB')

Load SQL files into a database.

help('loadProperties')

Load property values from a file.

help('save')

Save the edits that have been made.

help('set')

Set the specified attribute value.

help('setOption')

Set options related to a domain creation or update.

help('showChanges')

Show the current changes that were made.

help('startEdit')

Start a configuration edit session.

help('stopEdit')

Stop current edit session and release lock.

help('unassign')

Unassign applications or resources.

help('unassignAll')

(Deprecated) Unassign all applications or services.

help('undo')

Revert all unsaved or unactivated edits.

help('validate')

Validate the changes that have been made.

wls:/offline> help('information')

Get information. help('addListener') help('configToScript') help('dumpStack') help('dumpVariables') help('find')

Add a JMX listener to the specified MBean. Convert a domain configuration to WLST script. Display stack trace from the last exception. Display all the variables used by WLST. Find MBeans and attributes.

help('getConfigManager')

help('getMBI')

help('getMBean')

help('getPath')

help('listChildTypes')

Return the ConfigurationManagerMBean.

Return the MBeanInfo. Return the MBean by browsing to path. Return the MBean path. List all the child MBeans for the cmo.

help('lookup')

Look up the specified MBean.

help('ls')

List all the child beans and/or attributes.

help('man')

Display help from MBeanInfo.

help('redirect')

Redirect WLST output to the specified filename.

help('removeListener')

help('showListeners')

help('startRecording')

help('state')

help('stopRecording')

help('stopRedirect')

help('storeUserConfig')

help('threadDump')

help('viewMBean')

help('writeIniFile')

Remove a listener that was previously defined. Show all listeners that are currently defined. Record all user interactions with WLST.

Return a map of servers/clusters and their state.

Stop recording WLST commands. Stop redirection of WLST output. Create a user configuration and key file. Display a thread dump for the specified server. Display information about an MBean. Convert WLST definitions to Python file.

wls:/offline> help('lifecycle')

Manage domain or server lifecycle.

help('migrate')

Migrate JTA, JMS or Server services.

help('resume')

Resume a server instance.

help('shutdown')

Gracefully shut down a server or a cluster.

help('start')

Start a Managed Server or a cluster.

help('startServer')

Start the Administration Server.

help('suspend')

Suspend a running server.

wls:/offline> help('nodemanager')

Use Node Manager. help('nm') help('nmConnect') help('nmDisconnect') help('nmEnroll')

Determine whether WLST is connected to Node Manager. Connect WLST to Node Manager. Disconnect WLST from a Node Manager session. Enroll the machine with Node Manager.

help('nmGenBootStartupProps')

Generate boot and startup properties

help('nmKill')

Kill the specified server instance.

help('nmLog')

Return the Node Manager log.

help('nmServerLog')

Return the server output log.

help('nmServerStatus')

Return the status of the server.

help('nmStart')

Start a server using Node Manager.

help('nmVersion')

help('startNodeManager')

Return the Node Manager server version. Start Node Manager.

wls:/offline> help('trees')

Navigate the tree hierarchy.

help('config')

(Deprecated) Navigate to the last MBean in configuration

hierarchy.

help('custom')

help('domainConfig')

help('domainRuntime')

Navigate to the root of custom MBeans. Navigate to last domain configuration MBean or root. Navigate to last domain runtime MBean or root.

help('edit')

Navigate to last edit configuration MBean or root.

help('jndi')

Navigate to the JNDI tree.

help('runtime')

(Deprecated) Navigates to the last MBean in runtime hierarchy

help('serverConfig')

Navigate to the last configuration MBean or root.

help('serverRuntime')

Navigate to the last runtime MBean or root.

wls:/offline>

wls:/offline> help('offline')

help('addTemplate')

Extend the current domain.

help('assign')

Assign resources to one or more destinations.

help('assignAll')

(Deprecated) Assign all applications or services.

help('cd')

Navigate the hierarchy of beans.

help('closeDomain')

Close the current domain.

help('closeTemplate')

help('cmo')

help('configToScript')

help('connect')

help('connected')

help('create')

help('createDomain')

help('delete')

help('dumpStack')

help('dumpVariables')

help('exit')

help('exitonerror')

help('exportDiagnosticData')

Close the current domain template. Current Management Object. Convert a domain configuration to WLST script. Connect WLST to a WebLogic Server instance.

Variable indicating whether WLST is connected. Create a configuration bean. Create a new domain. Delete a configuration bean. Display stack trace from the last exception. Display all the variables used by WLST.

Exit WLST from the user session.

Variable indicating whether WLST exits on error.

Execute a query (offline).

help('get')

Return the value of the specified attribute.

help('loadDB')

Load SQL files into a database.

help('loadProperties')

Load property values from a file.

help('ls')

List all the child beans and/or attributes.

help('nmConnect')

Connect WLST to Node Manager.

help('prompt')

Toggle prompt information.

help('pwd')

Display the current working directory.

help('readDomain')

Open an existing domain for updating.

help('readTemplate')

Open an existing domain template.

help('recording')

Variable indicating whether WLST is recording.

help('redirect')

Redirect WLST output to the specified filename.

help('set')

Set the specified attribute value.

help('setOption')

Set options related to a domain creation or update.

help('startNodeManager')

Start Node Manager.

help('startRecording')

Record all user interactions with WLST.

help('startServer')

Start the Administration Server.

help('stopRecording')

Stop recording WLST commands.

help('stopRedirect')

Stop redirection of WLST output.

help('threadDump')

Display a thread dump for the specified server.

help('unassign')

Unassign applications or resources.

help('unassignAll')

(Deprecated) Unassign all applications or services.

help('updateDomain')

Update and save the current domain.

help('username')

Name of user currently connected to WLST.

help('version')

Current version of WLS.

help('writeDomain')

Write the domain configuration information.

help('writeIniFile')

Convert WLST definitions to Python file.

help('writeTemplate')

Write the domain template.

wls:/offline> help('online')

help('activate')

help('addListener')

help('adminHome')

help('cancelEdit')

Activate the changes. Add a JMX listener to the specified MBean. Administration MBeanHome. Cancel an edit session.

help('cd')

Navigate the hierarchy of beans.

help('cmo')

Current Management Object.

help('config')

(Deprecated) Navigate to the last MBean in configuration

hierarchy.

help('configToScript')

Convert a domain configuration to WLST script.

help('connect')

Connect WLST to a WebLogic Server instance.

help('connected')

Variable indicating whether WLST is connected.

help('create')

Create a configuration bean.

help('currentTree')

Return the current location in the hierarchy.

help('custom')

Navigate to the root of custom MBeans.

help('delete')

Delete a configuration bean.

help('deploy')

Deploy an application.

help('disconnect')

Disconnect WLST.

help('distributeApplication')

help('domainConfig')

help('domainName')

help('domainRuntime')

help('domainRuntimeService')

help('dumpStack')

help('dumpVariables')

Copy the deployment bundle to targets.

Navigate to last domain configuration MBean or root. Name of the domain to which WLST is connected. Navigate to last domain runtime MBean or root.

DomainRuntimeServiceMBean MBean.

Display stack trace from the last exception. Display all the variables used by WLST.

help('edit')

Navigate to last edit configuration MBean or root.

help('editService')

EditServiceMBean MBean.

help('encrypt')

Encrypt the specified string.

help('exit')

Exit WLST from the user session.

help('exitonerror')

help('exportDiagnosticDataFromServer')

Variable indicating whether WLST exits on error.

Execute a query (online).

help('find')

Find MBeans and attributes.

help('get')

Return the value of the specified attribute.

help('getActivationTask')

help('getConfigManager')

Return the latest ActivationTaskMBean. Return the ConfigurationManagerMBean.

help('getMBI') help('getMBean') help('getPath') help('getWLDM') help('home') help('invoke') help('isAdminServer') Admin Server.

Return the MBeanInfo. Return the MBean by browsing to path. Return the MBean path. Return the WebLogic DeploymentManager object. Local MBeanHome. Invoke a management operation on the current bean. Variable indicating whether WLST is connected to an

help('isRestartRequired')

help('jndi')

help('listChildTypes')

help('loadApplication')

help('loadProperties')

Determine whether a server restart is required.

Navigate to the JNDI tree.

List all the child MBeans for the cmo. Load an application and deployment plan. Load property values from a file.

help('lookup')

Look up the specified MBean.

help('ls')

List all the child beans and/or attributes.

help('man')

Display help from MBeanInfo.

help('mbs')

MBeanServerConnection object.

help('migrate')

Migrate JTA, JMS or Server services.

help('nm')

Determine whether WLST is connected to Node Manager.

help('nmConnect')

Connect WLST to Node Manager.

help('nmDisconnect')

Disconnect WLST from a Node Manager session.

help('nmEnroll')

Enroll the machine with Node Manager.

help('nmGenBootStartupProps')

Generate boot and startup properties

help('nmKill')

Kill the specified server instance.

help('nmLog')

Return the Node Manager log.

help('nmServerLog')

Return the server output log.

help('nmServerStatus')

Return the status of the server.

help('nmStart')

Start a server using Node Manager.

help('nmVersion')

Return the Node Manager server version.

help('prompt')

Toggle prompt information.

help('pwd')

Display the current working directory.

help('recording')

Variable indicating whether WLST is recording.

help('redeploy')

Reload classes and redeploys an application.

help('redirect')

Redirect WLST output to the specified filename.

help('removeListener')

Remove a listener that was previously defined.

help('resume')

Resume a server instance.

help('runtime')

(Deprecated) Navigates to the last MBean in runtime hierarchy

help('runtimeService')

RuntimeServiceMBean MBean.

help('save')

Save the edits that have been made.

help('serverConfig')

Navigate to the last configuration MBean or root.

help('serverName')

Name of the server to which WLST is connected.

help('serverRuntime')

Navigate to the last runtime MBean or root.

help('set')

help('showChanges')

Set the specified attribute value. Show the current changes that were made.

help('showListeners')

Show all listeners that are currently defined.

help('shutdown')

Gracefully shut down a server or a cluster.

help('start')

Start a Managed Server or a cluster.

help('startApplication')

help('startEdit')

help('startNodeManager')

Start an application. Start a configuration edit session.

Start Node Manager.

help('startRecording')

help('startServer')

help('state')

help('stopApplication')

help('stopEdit')

help('stopRecording')

help('stopRedirect')

help('storeUserConfig')

help('suspend')

help('threadDump')

help('typeService')

help('undeploy')

Record all user interactions with WLST. Start the Administration Server.

Return a map of servers/clusters and their state.

Stop an application, making it unavailable to users.

Stop current edit session and release lock. Stop recording WLST commands. Stop redirection of WLST output. Create a user configuration and key file.

Suspend a running server. Display a thread dump for the specified server. TypeServiceMBean MBean. Undeploy an application.

help('undo')

Revert all unsaved or unactivated edits.

help('updateApplication') deployment plan.

Update an application configuration using a new

help('username')

Name of user currently connected to WLST.

help('validate')

Validate the changes that have been made.

help('version')

Current version of WLS.

help('viewMBean')

Display information about an MBean.

help('writeIniFile')

Convert WLST definitions to Python file.

wls:/offline>