Configuring the Genero Application Server / Validating configuration files |
Describes some options that can prove useful in validating the GAS configuration file with the gasadmin tool.
gasadmin [options]
--configuration-check
The configuration-check option validates the GAS configuration file (as.xcf) and exits. Errors are displayed to error output.
--configuration-explode
The configuration-explode option explodes the GAS configuration file into separate files, one for each application, which are then stored in the temporary directory defined by the res.path.tmp resource of the GAS configuration file. Each file lists the entire configuration for an application, expanding the inherited components.
<EXECUTION> <ENVIRONMENT_VARIABLE Id="FGLDIR">$(res.fgldir)</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="GREDIR">$(res.gredir)</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="PATH">$(res.path)</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="FGLLDPATH">$(res.fglldpath)</ENVIRONMENT_VARIABLE> <PATH>$(res.path.fgldir.demo.services)/calculator/server</PATH> ... </EXECUTION>
--configuration-expand-resources
The configuration-expand-resources option expands the GAS configuration file's resource elements and replaces them with real values. Can be used in combination with --configuration-explode or --configuration-explode-external options to expand components of the configuration file.
<EXECUTION> <ENVIRONMENT_VARIABLE Id="FGLDIR">C:\4js\fgl</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="GREDIR">#!GREDIR!#</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="PATH">C:\Windows;C:\4js\gas\2.50.34\bin;#!GREDIR!#\bin;C:\4js\fgl\bin;C:\4js\fgl\lib</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="FGLLDPATH">C:\4js\gas\2.50.34\lib;#!GREDIR!#\lib;C:\4js\fgl\lib</ENVIRONMENT_VARIABLE> <PATH>C:\4js\fgl/demo/WebServices/calculator/server</PATH> ... </EXECUTION>