GAS standalone dispatcher: httpdispatch

httpdispatch is the standalone dispatcher that starts GAS in command line. No web server is needed. It is only use in development mode. For deployment, use the dispatcher designed for your web server.

Launch httpdispatch at the command line by opening a Genero Workplace Window or by specifying it in your GAS configuration in Genero Studio.

See the topic Standalone Genero Application Server in the Genero Application Server User Guide for more information.

Syntax

httpdispatch [options]

Options

Table 1. httpdispatch options
Option Description

-h

--help

Displays help information.

-p directory

--as-directory directory

Specify the Genero Application Server directory.

-f configuration_file

--configuration-file configuration_file

Specify which configuration file to use when starting the Genero Application Server dispatcher. If not specified, the default configuration file, $FGLASDIR/etc/as.xcf, is used.

-k

--no-keepalive

Disable keep alive for http connections. For debug purpose only.

-E name=value

--resource-overwrite name=value

Overwrites the resource defined in the configuration file or creates a new one.

Example:

httpdispatch
 -E res.dvm.wa=$FGLDIR/bin/myrun

If in the configuration file "res.dvm.wa" has another value it is now set to myrun. The final value is the one set in the option.

-V

--version

Displays version information.