Tivoli Workload Automation, Version 9.2

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. (see Tivoli® Workload Scheduler: User's Guide and Reference for a description of these commands.)

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 full 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 of the Dynamic Workload Console, then you must use the following syntax:
stopWas.sh -direct  
          -user <user_ID> 
           -password <password>
           
where the -direct argument is mandatory.
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>]
            [-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.
–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.
–wasHome <installation_directory>
Defines the WebSphere Application Server installation directory, if it is not the default value.