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 CONFIGURATION element. This element has a single child element, the APPLICATION_SERVER element, which defines the GAS.
  • The RESOURCE_LIST element provides a platform-specific resource configuration for Windows® and UNIX® systems.
  • The COMPONENT_LIST defines reusable component configurations for GAS. When an element (for example APPLICATION) uses a using attribute, it can reference a component from the COMPONENT_LIST to inherit default settings for applications and services.
  • The APPLICATION_LIST element defines abstract application templates and default groups. It holds shared configuration blocks used by multiple applications. When an APPLICATION element specifies a Parent attribute, it inherits the parent's configuration.
  • The SERVICE_LIST provides 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.

Important:

When you add an application to the GAS configuration file, you must restart the GAS for the application to be recognized.

After the restart, depending on the dispatcher, you may or may not have the applications (for example, proxies) stopped; some of the dispatchers can recover the application and continue where the application left off.