GAS Directories

Files are created or touched in two main areas: in the Genero Application Server installation directory (identified by the environment variable $FGLASDIR) and in the Genero Application Server application directory (identified by the variable <appdata> and set by the resource res.appdata.path).

Table 1. $FGLASDIR directories and files
Directory File or Details Description
$FGLASDIR   GAS installation directory.
  On UNIX™: envas

On Windows™: envas.bat

Script for setting environment variables.
$FGLASDIR/bin   GAS dispatchers and VMProxy executables.
$FGLASDIR/etc as.xcf Default GAS configuration file.
$FGLASDIR/ghc Child directories include:
  • /android
  • /ios
GWC hybrid mode source code.
$FGLASDIR/ISAPI isapidispatch.ini ISAPI extension configuration file.
$FGLASDIR/lib   Library files.
$FGLASDIR/license *.txt License agreement text files.
$FGLASDIR/pic   Default image directory.
$FGLASDIR/release   Licensing and release notes.
$FGLASDIR/tpl/common

$FGLASDIR/tpl/setAjax

$FGLASDIR/tpl/setBasic

$FGLASDIR/tpl/setHTML5

$FGLASDIR/tpl/setIphone

$FGLASDIR/tpl/SetSL

  Snippet-based rendering engine template directories (one for each output mode). Each directory contains a template file and a set of snippet files that define how the snippet-based rendering engine displays the objects in the UI.
$FGLASDIR/war   Java™ dispatcher directory.
$FGLASDIR/web demos.html Root directory for direct communication to the application server. The demos.html file provides access to various Demos applications in various output modes.
Table 2. <appdata> directories and files
Directory File or Details Description
<appdata>

On UNIX: $FGLASDIR/appdata

On Windows: C:\ProgramData\vendor\gas\gas_version

GAS application data directory.
<appdata>/app .xcf Default application group; the default location for applications configuration files.
<appdata>/deployment   Applications deployed with Genero Archive.

<appdata>/log/<dispatcher_name>/<date>

<appdata>/log/gasadmin/<date>

Within the log directory, a different directory is created for each dispatcher. The <dispatcher_name> refers to the dispatcher:
  • httpdispatch (for the standalone GAS)
  • isapidispatch (for the ISAPI dispatcher)
  • j2eedispatch (for the Java dispatcher)
The logs for a given day are stored in a directory named for that date.
Log directories for dispatchers; the gasadmin directory is the log directory for gasadmin actions.
Note: This directory is created with write permissions for users that are in the same group as the user who installed the Genero Application Server. If the user that starts the Genero Application Server (for example apache) is not that group, then you need to grant write permission to that user.
Note: DVM logs are redirected to files when DAILYFILE is set for the log output type.

<appdata>/session/<dispatcher_name>

Within the session directory, a different directory is created for each dispatcher. The <dispatcher_name> refers to the dispatcher:
  • httpdispatch (for the standalone GAS)
  • isapidispatch (for the ISAPI dispatcher)
  • j2eedispatch (for the Java dispatcher)
Persistent session table information.
Note: This directory is created with write permissions for users that are in the same group as the user who installed the Genero Application Server. If the user that starts the Genero Application Server (for example apache) is not that group, then you need to grant write permission to that user.
Note: <appdata>/session/gasadmin may exist, but it is not used by gasadmin.

<appdata>/tmp/<dispatcher_name>

<appdata>/tmp/gasadmin

Within the tmp directory, a different directory is created for each dispatcher. The <dispatcher_name> refers to the dispatcher:
  • httpdispatch (for the standalone GAS)
  • isapidispatch (for the ISAPI dispatcher)
  • j2eedispatch (for the Java dispatcher)
Default file transfer directory. The gasadmin directory is for the result of gasadmin actions, such as exploring the configuration (xcf) files.
Note: This directory is created with write permissions for users that are in the same group as the user who installed the Genero Application Server. If the user that starts the Genero Application Server (for example apache) is not that group, then you need to grant write permission to that user.
<appdata>/services *.xcf Default services group; the default place for web services configuration files.