Configuring the Genero Application Server / Quick Start: Have the GAS deliver your application |
For your application to work correctly, you need to set database-related environment.
Environment variables are set within the EXECUTION element of an application's configuration.
<ENVIRONMENT_VARIABLE Id="env_var">env_value</ENVIRONMENT_VARIABLE>
Example (using Informix®):
<APPLICATION Id="myapp" Parent="defaultgwc"> <EXECUTION> <ENVIRONMENT_VARIABLE Id="INFORMIXDIR">ifx_path</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="INFORMIXSERVER">ifx_server</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="LD_LIBRARY_PATH">library_path</ENVIRONMENT_VARIABLE> <PATH>/home/myapp/bin</PATH> <MODULE>app.42r</MODULE> </EXECUTION> </APPLICATION>