Use the startappserver and stopappserver commands or the equivalent from the Dynamic Workload Console to
start or stop the embedded 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 embedded
WebSphere Application Server is applicable only if all components are integrated with your
Tivoli Workload Scheduler environment. If your
Dynamic Workload Console or z/OS® Connector are not integrated (they do not share the same
WebSphere Application Server with your
Tivoli Workload Scheduler installation), 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.