Stopping a proxy server ends a server process based on the process
definition settings in the current application server configuration.
Before you begin
Ensure that you understand how stopping a particular server affects
your ability to handle work requests, especially if you need to maintain a
highly available environment.
About this task
There are times you need to stop a proxy server. For example, you
might want to upgrade the operating system, or you might want to change a
configuration setting for the proxy server. You can use one of the following
options to stop a proxy server.
Note: To perform a proxy quiesce for your Session Initiation
Protocol (SIP) proxy server, you must shut down the SIP proxy server by issuing
the
stopServer command from the command line. If you attempt
to shut down the proxy server from the administrative console, then the server
shuts down immediately and the proxy quiesce is not completed.
Avoid trouble: The quiesce function for the
SIP proxy server is not supported on the z/OS platform. To use a similar function
on z/OS, see the information center article,
Pausing an application server
listener to manually update a high availability application.
gotcha
Procedure
You can issue the stopServer command
from the command line to stop a single proxy server. ![[AIX HP-UX Linux Solaris Windows]](../../dist.gif)
You
can issue the
stopServer command from the
C:\WebSphere\AppServer\profiles\AppSrv02\bin directory.
# .\stopServer.sh proxyserver1
![[AIX]](../../aixlogo.gif)
You can issue the
stopServer command
from the
/usr/WebSphere/AppServer/bin directory.
# ./stopServer.sh proxyserver1
Do not use the CANCEL proxyserver_proc_name command
to stop a server. Every time you start a server, a new temp directory
is created from the servant process token, such as profile_root/default/temp/node_name/server_name. When you perform
a graceful shutdown, which happens if you cancel rather than stop the server,
these temp directories are typically removed. However,
if you infrequently perform graceful shutdowns, then these temp directories
are not removed and the hierarchical file system (HFS) used for these temp directories
becomes full.
- You can use the administrative console to stop a proxy server.
- From the administrative console, click .
- Select the proxy server, and click Stop.
- Confirm that you want to stop the selected proxy server.
- View the Status value and any messages
or logs to see whether the proxy server stops.
You can use the stopServer
Qshell script to stop a proxy server:
You can use the End
Job (ENDJOB) CL command to stop a proxy server. Enter
the following line of code to use the ENDJOB CL command.ENDJOB JOB(jobNumber/QEJBSVR/jobName) OPTION(*CNTRLD) DELAY(delayTime)
In this example, jobNumber is the job number, jobName is
the name of the proxy server job, and delayTime is the
amount of time, in seconds, to wait for the job to end. You can initially
set delayTime to 600 seconds and then adjust the value,
if necessary, to a value that is more appropriate for your environment.
Results
The specified proxy server stops as soon as requests assigned to that
server finish processing. To verify that the proxy server is in the stop state,
in the administrative console, click .