Shutting down the WebSphere Application Server subsystem

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 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 QWAS61 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, etc 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), it is recommended that you 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 need to increase the amount of time specified on the ENDSBS or ENDJOB command.

Procedure

  1. Invoke the End Subsystem (ENDSBS) CL command specifying the QWAS61 subsystem.
    ENDSBS SBS(QWAS61) 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 QWAS61 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.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 10:47:11 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-iseries&topic=trun_ssenv_stop
File name: trun_ssenv_stop.html