Common predefined resources

These Genero Application Server predefined resources are available for any front-end.

These resources include:

Table 1. Common GAS predefined resources
Predefined Resource Description
application.id Application identifier for applications defined in the GAS configuration file, as.xcf, or, in the case where an external application configuration file is used, the name of the .xcf file.
application.group An application group as defined in the /APPLICATION_LIST/GROUP or /SERVICE_LIST/GROUP elements in the as.xcf. When a front-end requests an application, the application.group provides the group alias, which directs the GAS to the directory with the application configuration file.
application.name The name of the application executable as defined in the /APPLICATION/EXECUTION/MODULE element of the application configuration file, or the name of the xcf file if both have the same name.
application.path

The path to the application executable as defined in the /APPLICATION/EXECUTION/PATH element of the application configuration file.

For example, we can define the resource domain "Image" as follows:
<WEB_APPLICATION_PICTURE_COMPONENT Id="cpn.gwc.picture">
  ...
  <PATH Id="Image" Type="APPSERVER">
      $(res.path.pic);$(application.path)
  </PATH>
  ...
</WEB_APPLICATION_PICTURE_COMPONENT>
connector.uri

The identifier in the application URL that indicates to the web server (IIS, Apache, and so on) the application is running on the GAS, and that the request must be forwarded to a dispatcher (isapidispatch or fastcgidispatch).

http://webserver/gas/ua/r/demo

Typically, the connector.uri has the value "gas". The gas is a directory or virtual directory on the web server defined by the $(connector.uri) resource.

server.version The resource that provides information about the version of the Genero Application Server as defined by the $(res.http.send.version) resource. By default, GAS version information is not sent to the front-end, and the $(res.http.send.version) resource must be set to allow it.
configuration.filepath The absolute path to the configuration file used to start the GAS.