Description Syntax Example activate

WLST Command and Variable Reference 3-37

3.7.1 activate

Command Category: Editing Commands Use with WLST: Online

3.7.1.1 Description

Activates changes saved during the current editing session but not yet deployed. This command prints a message if a server restart is required for the changes that are being activated. The activate command returns the latest ActivationTask MBean which reflects the state of changes that a user is currently making or has made recently. You can then invoke methods to get information about the latest Configuration Manager activate task in progress or just completed. In the event of an error, the command returns a WLSTException.

3.7.1.2 Syntax

activate[timeout], [block] loadDB Load SQL files into a database. Offline loadProperties Load property values from a file. Online or Offline 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 to the configuration by the current user during the current edit session. Online startEdit Starts a configuration edit session on behalf of the currently connected user. Online stopEdit Stop the current edit session, release the edit lock, and discard unsaved changes. Online unassign Unassign applications or resources 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. Online Argument Definition timeout Optional. Time in milliseconds that WLST waits for the activation of configuration changes to complete before canceling the operation. A value of -1 indicates that the operation will not time out. This argument defaults to 300,000 ms or 5 minutes. Table 3–7 Cont. Editing Commands for WLST Configuration This command... Enables you to... Use with WLST... 3-38 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

3.7.1.3 Example

The following example activates the changes made during the current edit session that have been saved to disk, but that have not yet been activated. WLST waits for 100,000 ms for the activation to complete, and 200,000 ms before the activation is stopped. wls:mydomainedit activate200000, block=true Activating all your changes, this may take a while ... The edit lock associated with this edit session is released once the activation is completed. Action completed. wls:mydomainedit

3.7.2 assign