GAS configuration file (as.xcf)
The Genero Application Server is configured through a configuration file. The default configuration file is as.xcf, located in the $FGLASDIR/etc directory.
The configuration file serves as a global configuration for the GAS and the applications that run on it. It is an XML file that contains a list of configuration elements.
- The root element is the
CONFIGURATIONelement. This element has a single child element, theAPPLICATION_SERVERelement, which defines the GAS. - The
RESOURCE_LISTelement provides a platform-specific resource configuration for Windows® and UNIX® systems. - The
COMPONENT_LISTdefines reusable component configurations for GAS. When an element (for exampleAPPLICATION) uses ausingattribute, it can reference acomponentfrom theCOMPONENT_LISTto inherit default settings for applications and services. - The
APPLICATION_LISTelement defines abstract application templates and default groups. It holds shared configuration blocks used by multiple applications. When anAPPLICATIONelement specifies aParentattribute, it inherits the parent's configuration. - The
SERVICE_LISTprovides support for abstract service application definitions.
To create a new Genero Application Server configuration file, create a copy of the default and make modifications in the copy. Use the dispatcher -f option to specify which configuration file to use when starting the Genero Application Server. If you do not specify a specific file, the default ($FGLASDIR/etc/as.xcf) is used.
When you add an application to the GAS configuration file, you must restart the GAS for the application to be recognized.