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
The $(connector.uri) is provided by the GAS. Typically, it has the value "gas". Applications running on standalone GAS (httpdispatch) have no connector.uri in the URL.
Important:

The standalone GAS is for development only; provided to simplify your development setup and configuration. For deployment and production systems, you must include a web server.

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. For more information, go to SEND_VERSION.
configuration.filepath The absolute path to the configuration file used to start the GAS.