Description Syntax Example stopEdit

3-52 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference This command must be called prior to invoking any command to modify the WebLogic domain configuration. In the event of an error, the command returns a WLSTException.

3.7.17.2 Syntax

startEdit[waitTimeInMillis], [timeoutInMillis], [exclusive]

3.7.17.3 Example

The following example saves the edits that have not yet been saved to disk. wls:mydomainedit startEdit60000, 120000 Starting an edit session ... Started edit session, please be sure to save and activate your changes once you are done. wls:mydomainedit

3.7.18 stopEdit

Command Category: Editing Commands Use with WLST: Online

3.7.18.1 Description

Stops the current edit session, releases the edit lock, and discards unsaved changes. In the event of an error, the command returns a WLSTException.

3.7.18.2 Syntax

stopEdit[defaultAnswer] Note: WLST automatically starts an edit session if it detects that there is an edit session that is already in progress by the same user, which may have been started via the Administration Console or another WLST session. Argument Definition waitTimeInMillis Optional. Time in milliseconds that WLST waits until it gets a lock, in the event that another user has a lock. This argument defaults to 0 ms. timeOutInMillis Optional. Timeout in milliseconds that WLST waits to release the edit lock. This argument defaults to -1 ms, indicating that this edit session never expires. exclusive Optional. Specifies whether the edit session should be an exclusive session. If set to true, if the same owner enters the startEdit command, WLST waits until the current edit session lock is released before starting the new edit session. The exclusive lock times out according to the time specified in timeoutInMillis. This argument defaults to false. Argument Definition defaultAnswer Optional. Default response, if you would prefer not to be prompted at the command line. Valid values are y and n. This argument defaults to null, and WLST prompts you for a response. WLST Command and Variable Reference 3-53

3.7.18.3 Example

The following example stops the current editing session. WLST prompts for verification before canceling. wls:mydomainedit stopEdit Sure you would like to stop your edit session? yn y Edit session has been stopped successfully. wls:mydomainedit

3.7.19 unassign