HCL Workload Automation, Version 9.4

Application server - starting and stopping

Use the startappserver and stopappserver commands or the equivalent from the Dynamic Workload Console to start or stop the WebSphere Application Server. For a description of these commands, see HCL Workload Automation: User's Guide and Reference.

These commands also stop appservman, the service that monitors and optionally restarts the application server.

If you do not want to stop appservman, you can issue startWas or stopWas, supplying the –direct argument.

The complete syntax of startWas and stopWas is as follows:
UNIX
Start the application server
startWas.sh  [-direct]
Stop the application server
stopWas.sh  [-direct] 
           [-user <user_ID> 
            -password <password>]
           
Note: The above syntax for stopping the WebSphere Application Server is applicable for a master domain manager WebSphere Application Server. If your WebSphere Application Server is for the Dynamic Workload Console, you must use the following syntax:
stopWas.sh [-direct] 
            [-user <user_ID> 
           -password <password>]
           
The user ID and password are optional only if you have specified them in the soap.client.props file located in the properties directory of the WebSphere Application Server profile. Unlike the master domain manager installation, when you install the Dynamic Workload Console the soap.client.props file is not automatically customized with these credentials.
Windows
Start the application server
startWas.bat [-direct]
             [-service <service_name>] 
             [-options <parameters>]
             
Stop the application server
stopWas.bat [-direct]
            [-service <service_name>] 
            [-wasHome <installation_directory>]
            [-user user_ID -password password]
            [-options <parameters>]
where the arguments are as follows:
–direct
Optionally starts or stops the application server without starting or stopping the application server monitor appservman.

For example, you might use this after changing some configuration parameters. By stopping WebSphere Application Server without stopping appservman, the latter will immediately restart WebSphere Application Server, using the new configuration properties. This argument is mandatory on UNIX when the product components are not integrated.

–options <parameters>
Optionally supplies parameters to the WebSphere Application Server startServer or stopServer commands. See the WebSphere Application Server documentation for details.
–password <password>
Defines the password to be used when stopping the application server on UNIX. This parameter is optional, if you have set the password in the soap.client.props file located in the properties directory of the WebSphere Application Server profile.
–service <service_name>
Defines the WebSphere Application Server service name, if it is not the default value of IBM WebSphere Application Server V6 - <TWS_user>
–user <user_ID>
Defines the user ID to be used when stopping the application server on UNIX. This parameter is optional, if you have set the user ID in the soap.client.props file located in the properties directory of the WebSphere Application Server profile.
–wasHome <installation_directory>
Defines the WebSphere Application Server installation directory, if it is not the default value.