3.4.1 Starting and stopping Cosminexus HTTP Server

When you install Cosminexus HTTP Server, it is registered in the system as a service called Cosminexus HTTP Server. The server is registered as a service to be started manually. the service does not start automatically when the OS is started.

To start, stop, and restart Cosminexus HTTP Server, you can use any of the following methods:

When executing Cosminexus HTTP Server as a service, the user account will be "LocalSystem" at the time of installation. Cosminexus HTTP Server including the CGI program and the API connection module is executed by this user account. For operation by other user accounts, see 3.4.2 Operation by general user accounts.

Organization of this subsection
(1) Starting, stopping, and restarting the service from Management Server
(2) Starting and stopping as a service from the control panel
(3) Starting, stopping, and restarting from the Command Prompt
(4) Operating Cosminexus HTTP Server from a remote machine using the terminal service
(5) Notes

(1) Starting, stopping, and restarting the service from Management Server

For details, see 4.1.2 How to start the system or 4.1.4 How to stop the system in the manual Cosminexus Application Server Operations Management Portal Operation Guide.

(2) Starting and stopping as a service from the control panel

Open the Service window from the Control Panel, select Cosminexus HTTP Server, and then click the Start button to start Cosminexus HTTP Server, or click the Stop button to stop Cosminexus HTTP Server. You cannot restart Cosminexus HTTP Server from the Service window.

(3) Starting, stopping, and restarting from the Command Prompt

Enter the httpsd command from the command prompt. The httpsd command is coded below:

(a) Format

"<Cosminexus-installation-directory>\httpsd\httpsd.exe" [[-d directory][-f file-name][ [-n "Service-name"][-k {start | stop | restart | gracefulstop | install | uninstall} ] ]| -v | -t ]

(b) Options

(4) Operating Cosminexus HTTP Server from a remote machine using the terminal service

By using the terminal service functionality in Windows 7, Windows Vista, Windows XP Professional, Windows Server 2008 R2, or Windows Server 2008, you can start and stop Cosminexus HTTP Server, or execute commands on the server computer from a remote machine.

For details on operating a terminal service, see the OS manual.

(5) Notes

When Cosminexus HTTP Server is stopped from Control Panel, or by the -k stop option executed from a command prompt, if a server thread is running, it will stop after waiting up to 30 seconds.