inet.env is a Lycia configuration file that contains environment variables used at runtime when running applications via LyciaDesktop and LyciaWeb.
inet.env is created during Lycia installation and can be modified depending on the developer's needs.
By default, inet.env is located in this folder - C:\ProgramData\Querix\Lycia\etc\ - and includes a basic set of environment variables (press » to see the default content):
BIRT_LIBDIR |
If necessary, you can create different versions of inet.env - one per each application server instance you use (per 1 instance you have 1 inet.env, per 10 instances you can have upto 10 inet.envs).
In this case, you can store these versions of inet.env in other (non-default) folder and specify this folder in listener.xml:
<envfile>C:\ProgramData\Querix\Lycia\etc\my_instances\my_project.env</envfile>
You can modify the runtime environment by specifying these environment variables in inet.env:
BIRT_LIBDIR DBFORMAT DBMONEY |
CLIENT_LOCALE DB_LOCALE |
INFORMIXDIR INFORMIXPASS INFORMIXSERVER LOGNAME ODBC_DSN ODBCINI ORACLE_HOME ORACLE_SID QXTRANS TNS_ADMIN |
There are two ways to open inet.env for viewing and editing:
→ from the default folder with the help of any text editor,
→ from the Application server sub-page of the Run/Debug preferences page (the file will open in the code editor of the current perspective):
You can easily modify inet.env both from LyciaStudio (recommended) or with the text editor you prefer:
Step 1 |
Exit the application (if necessary).
|
Step 2 |
Open inet.env ↑ .
|
Step 3 |
Introduce the necessary changes following these basic rules for setting environment variables: § change variable values, § add new environment variables, or § remove environment variables.
|
Step 4 |
Save the changes.
|
Step 5 |
Start the application (if necessary).
|
Related articles:
Configuration files
Setting environment variables for projects and programs
Application server instances