Where is weblogic wlst




















Online or Offline currentTree Return the current location in the hierarchy. Online delete Delete an instance of a configuration bean of the specified type for the current configuration bean. Online distributeApplication Copy the deployment bundle to the specified targets. Online domainConfig Navigate to the last MBean to which you navigated in the domain configuration hierarchy or to the root of the hierarchy, DomainMBean.

Online domainRuntime Navigate to the last MBean to which you navigated in the domain runtime hierarchy or to the root of the hierarchy, DomainRuntimeMBean. Online dumpStack Display stack trace from the last exception that occurred while performing a WLST action, and reset the stack trace.

Online encrypt Encrypt the specified string. Online or Offline exportDiagnosticData Execute a query against the specified log file. Online find Find MBeans and attributes in the current hierarchy. Online get Return the value of the specified attribute.

Online getAvailableCapturedImages Returns a list of the previously captured diagnostic images. Online invoke Invoke a management operation on the current configuration bean. Online isRestartRequired Determine whether a server restart is required.

Online listApplications List all applications that are currently deployed in the domain. Online loadApplication Load an application and deployment plan into memory. Offline loadProperties Load property values from a file.

Online and Offline lookup Look up the specified MBean. Online migrate Migrate services to a target server within a cluster. Online nmKill Kill the specified server instance that was started with Node Manager. Online or Offline prompt Toggle the display of path information at the prompt.

Online or Offline pwd Display the current location in the configuration or runtime bean hierarchy. Offline readTemplate Open an existing domain template for WebLogic domain creation.

Offline redeploy Reload classes and redeploy a previously deployed application. Online or Offline removeListener Remove a listener that was previously defined. Online save Save the edits that have been made but have not yet been saved.

Online set Set the specified attribute value for the current configuration bean. Online or Offline setOption Set options related to a WebLogic domain creation or update Offline showChanges Show the changes made by the current user during the current edit session. Online showListeners Show all listeners that are currently defined. Online shutdown Gracefully shut down a running server instance or cluster.

Online startApplication Start an application, making it available to users. Online startEdit Start a configuration edit session on behalf of the currently connected user. Online or Offline state Returns a map of servers or clusters and their state using Node Manager. Online stopApplication Stop an application, making it un available to users.

Online stopEdit Stop the current edit session, release the edit lock, and discard unsaved changes. Online or Offline storeUserConfig Create a user configuration file and an associated key file. Online suspend Suspend a running server.

Online threadDump Display a thread dump for the specified server. Online or Offline undeploy Undeploy an application from the specified servers. Online updateApplication Update an application configuration using a new deployment plan.

Online updateDomain Update and save the current domain. Offline unassign Unassign applications or services from one or more destinations. Offline undo Revert all unsaved or unactivated edits. Online validate Validate the changes that have been made but have not yet been saved. The following is a list of command categories and is based on the Oracle documentation. Commands in this category.

Navigate the hierarchy of configuration or runtime beans and control the prompt display. Connect to or disconnect from a server. Create and configure a WebLogic domain or domain template. Customization Commands. Add the command group help and command help that is d isplayed by the WLST help and help ' commandGroup ' commands.

Deployment Commands. Deploy, undeploy, and redeploy applications and standalone modules to a WebLogic Server instance. Update an existing deployment plan. Interrogate the WebLogic Deployment Manager object. Start and stop a deployed application. Diagnostics Commands. Export diagnostic data. Editing Commands. Interrogate and edit configuration beans.

Information Commands. Interrogate domains, servers, and variables, and provide configuration bean, runtime bean, and WLST-related information. Life Cycle. Manage the life cycle of a server instance. For more information, see redirect and stopRedirect. To convert an existing server configuration config directory to an executable WLST script, enter:. Note: configToScript creates ancillary user-config and user-key files to hold encrypted attributes.

You can use the resulting script to re-create the resources on other servers. Before running the generated script, you should update the properties file to specify values that are appropriate for your environments.

When you run the generated script:. For more information, see configToScript. Note: You can customize the default WLST home directory by passing the following argument on the command line: -Dweblogic. Within this script, the wlstHomeSample command is defined, which prints a String, as follows:. The scripts located within this directory are imported as Jython libraries.

A JAR file, jython. WLST lets you perform the following tasks: Propagate a WebLogic Server domain to multiple destinations using predefined configuration and extension templates. Retrieve domain configuration and runtime information. See Navigating and Interrogating MBeans. Edit the domain configuration and persist the changes in the domain's configuration files. See Editing Configuration MBeans. See Accessing Custom MBeans. Automate domain configuration tasks and application deployment.

Control and manage the server life cycle. Access the Node Manager and start, stop, and suspend server instances remotely or locally, without requiring the presence of a running Administration Server. Modes o f Operation WLST is a command-line interpreter that interprets commands either interactively, supplied one-at-a-time from a command prompt, or in batches, supplied in a file script , or embedded in your Java code.

The modes of operation represent methods for issuing WLST commands: Interactively, on the command line— Interactive Mode In a text file— Script Mode Embedded in Java code— Embedded Mode Interactive M ode Interactive mode, in which you enter a command and view the response at a command-line prompt, is useful for learning the tool, prototyping command syntax, and verifying configuration options before building a script.

Using WLST scripts, you can: Automate WebLogic Server configuration and application deployment Apply the same configuration settings, iteratively, across multiple nodes of a topology Take advantage of scripting language features, such as loops, flow control constructs, conditional statements, and variable evaluations that are limited in interactive mode Schedule scripts to run at various times Automate repetitive tasks and complex procedures Configure an application in a hands-free data center In Listing , WLST connects to a running Administration Server instance, creates 10 Managed Servers and two clusters, and assigns the servers to a cluster.

Listing Creating a Clustered Domain from java. Attribute print 'starting the script WLSTInterpreter; import org. Open a new command shell and invoke Jython directly by entering the following command:.

Now you can use WLST methods in the module. For example, to connect WLST to a server instance:. Do the following For a sample script, see



0コメント

  • 1000 / 1000