5.3.37 Terminating the HTTP Server
The methods to stop HTTP Server are normal stop and planned stop.
- Normal stop
-
If a currently executing request processing is stopped, HTTP Server stops without waiting for the request processing to end. As the HTTP server stops without waiting for the request processing to end, the processing of the in-process requests is not guaranteed.
- Planned termination
-
If a currently executing request processing is stopped, HTTP Server stops after the request processing ends. As the HTTP server stops after waiting for the request processing to end, the processing of the in-process requests is guaranteed.
The planned stop has already been setup, by default. To change the setup, perform settings in the cscmng.server.<HCSC server name>.hws.svstop parameter of the HCSC-Manager definition file. Also, in case of planned stop, you can also set the timeout value for the planned stop of HTTP server. Set the timeout value in the cscmng.server.<HCSC server name>.hws.svstop.timeout parameter of the HCSC-Manager definition file.
For details on the HCSC-Manager definition file, see "6.5.3 HCSC-Manager definition file" in "Service Platform Reference Guide".
- Organization of this subsection
(1) Stopping method
To stop HTTP Server, execute the cscsvstop command in the operating environment. Execute the command by specifying the logical server name of HTTP Server in the -logical option.
For details on the cscsvstop command, see "cscsvstop (Stopping an HCSC server)" in "Service Platform Reference Guide".
Execution format of the cscsvstop command is as follows:
cscsvstop -user <login user ID> -pass <login password> -csc <HCSC server name> -logical <logical server name of HTTP Server>