Description Syntax Example stopApplication

3-28 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

3.5.7.3 Example

The following example starts the BigApp application with the specified deployment options. wls:mydomainserverConfigServers progress=startApplicationBigApp, stageMode=NOSTAGE, testMode=false Starting the application... Successfully started the application. The previous example stores the WLSTProgress object returned in a user-defined variable, in this case, progress. You can then use the progress variable to access the state of the startApplication command. For example: wls:mydomainserverConfigServers progress.getState completed wls:mydomainserverConfigServers For more information about the WLSTProgress object, see WLSTProgress Object in Oracle WebLogic Scripting Tool.

3.5.8 stopApplication

Command Category: Deployment Commands Use with WLST: Online

3.5.8.1 Description

Stops an application, making it unavailable to users. The application must be fully configured and available in the WebLogic domain. The stopApplication command returns a WLSTProgress object that you can access to check the status of the command. For more information about the WLSTProgress object, see WLSTProgress Object in Oracle WebLogic Scripting Tool. In the event of an error, the command returns a WLSTException.

3.5.8.2 Syntax

stopApplicationappName, [options]

3.5.8.3 Example

The following example stops the BigApp application. wls:offline progress=stopApplicationBigApp Argument Definition appName Name of the application to start, as specified in the plan.xml file. options Optional. Comma-separated list of deployment options, specified as name-value pairs. For a list of valid deployment options, see options argument description in Section 3.5.1, deploy . Argument Definition appName Name of the application to stop, as specified in the plan.xml file. options Optional. Comma-separated list of deployment options, specified as name-value pairs. For a list of valid deployment options, see options argument description in Section 3.5.1, deploy . WLST Command and Variable Reference 3-29 Stopping the application... Successfully stopped the application. The previous example stores the WLSTProgress object returned in a user-defined variable, in this case, progress. You can then use the progress variable to check whether stopApplication command is running. For example: wls:mydomainserverConfigServers progress.isRunning wls:mydomainserverConfigServers For more information about the WLSTProgress object, see WLSTProgress Object in Oracle WebLogic Scripting Tool.

3.5.9 undeploy