[IBM i]

Shutting down the QWAS85 subsystem for WebSphere Application Server

You can shutdown the WebSphere® Application Server subsystem in order to completely shutdown the WebSphere Application Server environment.

About this task

For information about stopping individual servers, nodes and deployment managers, see the topics Starting an application server and Stopping an application server. In all cases, it is important to end the job gracefully so that the job can finish any tasks that are currently in progress, clean up any open connections, and end multiple threads in an appropriate order.

To stop (end) the WebSphere Application Server environment, perform one of the following steps. In both cases, you must specify a value for the variable representing an adequate number of seconds.

To determine what is an adequate number of seconds, end the subsystem in a controlled fashion with DELAY(*NOLIMIT). The job logs for all WebSphere Application Server servers running in subsystem QWAS85 include message WAS0107 indicating that the server running in the job has ended. If the job is ended due to a SIGTERM signal (the signal is issued when commands such as ENDJOB, ENDSBS, and so on, are issued that result in the job being ended), the message contains the number of seconds required to gracefully end the application server. However, if the application server does not have enough time to end the application server gracefully, no message is issued.

If you must use the ENDSBS OPTION(*IMMED) command or ENDJOB OPTION(*IMMED), set the amount of time available for handling the job termination signal to an appropriate value.

If no message is found in the job log, it is a good indication that you must increase the amount of time specified on the ENDSBS or ENDJOB command.

Procedure

  1. Invoke the End Subsystem (ENDSBS) CL command specifying the QWAS85 subsystem.
    ENDSBS SBS(QWAS85) OPTION(*CNTRLD) DELAY(adequateNumberOfSeconds)
    where adequateNumberOfSeconds is appropriate for the amount of time it takes to stop the WebSphere Application Server servers running on your system.
  2. Invoke the End Job (ENDJOB) CL command against the jobs running in the QWAS85 subsystem:
    ENDJOB JOB(jobNumber/QEJBSVR/jobName) 
         OPTION(*CNTRLD) DELAY(adequateNumberOfSeconds)
    where adequateNumberOfSeconds is appropriate for the amount of time it takes to stop the WebSphere Application Server servers running on your system.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 20, 2014 08:46 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=trun_ssenv_stop
File name: trun_ssenv_stop.html