inet.env

 

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

CLASSPATH

COLUMNS

FGLIMAGEPATH

FGLPROFILE

LINES

LYCIA_DIR

LYCIA_DRIVER_PATH

LYCIA_MSGPATH

PATH

QX_MENU_WINDOW

QXBREAKCH_END

QXBREAKCH_START

QXDEBUG

 

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:

 

CLASSPATH

LD_LIBRARY_PATH

PATH

BIRT_LIBDIR

DBCENTURY

DBDATE

DBDELIMITER

DBFORMAT

DBMONEY

DBPATH

DBPRINT

DBTEMP

FGLIMAGEPATH

FGLLDPATH

FGLPROFILE

LINES and COLUMNS

LYCIA_DB_DRIVER

LYCIA_DIR

LYCIA_DRIVER_PATH

LYCIA_MSGPATH

LYCIA_POST_MORTEM_LENGTH

LYCIA_SEVERITY

LYCIA_SYSTEM_ACTION_DEFAULTS

LYCIA_SYSTEM_RESOURCES

LYCIA_SYSTEM_THEME_CSS

LYCIA_SYSTEM_THEME_QX

QXBREAKCH_END

QXBREAKCH_START

QXDEBUG

QXREP_SPACES

QX_COMPAT

QX_HEADLESS_MODE

QX_LOGNATIVESQLERRORS

QX_MENU_WINDOW

QX_MENU_WINDOW_NEW_CHILD

QX_MDI

QX_NATIVE_LINKER

QX_OPT_LEVEL

QX_QRUN_DUMP

QX_TRACE

QX_TRACE_ARG_DUMP

QX_UNL

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

Environment variables

Setting environment variables for projects and programs

4GL preferences: Run/Debug

Application server instances

listener.xml