velocity-webserver

Manages the run state of the embedded web server that is installed as a part of Watson Explorer Engine.

Synopsis

velocity-webserver [-help]
    [-installation-dir /path/to/engine/installation]
    [-quiet]
    [start|stop|restart|graceful|configtest|uninstall|install|info]

Description

The velocity-webserver command is located in the bin subdirectory of a Watson Explorer Engine installation. (On Microsoft Windows systems, this command has the .exe file extension.) Executing this command with one of the start|stop|restart|graceful changes the execution state of the Watson Explorer Engine web server in the indicated fashion. Executing this command with the configtest option enables you to verify that the web server's configuration file is syntactically correct. Executing this command with the info options displays information about the status of the web server and the URL at which it can be contacted. The graceful option is only available on Linux systems, and restarts the Watson Explorer Engine embedded web server without terminating any activae connections. The uninstall and install options are only available on Microsoft Windows systems, and respectively uninstall or install Watson Explorer Engine's embedded web server as a Window service.

Note: When starting the embedded Watson Explorer Engine web server for the first time on Microsoft Windows systems that are running the Windows firewall or which support User Account Control (UAC) warnings, your system will display a dialog requesting that you unblock the program in your firewall or otherwise grant the application access to your network. You must approve whichever of these access requests you see in order for applications to use this web server.

Options

When executed with no arguments, the velocity-webserver command displays the same output as if it had been called with its --help option.

Messages

Depending on the command-line options that you specify, you may be prompted for other information or see additional messages, such as the following:

See the Watson Explorer Engine Message Reference Manual for detailed information about any other messages that you may receive from the velocity-webserver command.

Exit Status

Exits with status 0 when the command is successful.

Note: On Linux systems, exit codes above 127 are returned by the shell. Please consult the documentation for the shell that you are using for more information.