5. Specify the Location for Lycia Configurations

5A. Set the LYCIA_CONFIG_PATH Environment Variable

5B. (Optional) Create the listener.xml File

Lycia is highly configurable, allowing for the creation of custom files. You can select locations for those files, and for these settings to be applied, you have to tell Lycia where to find them.

5A. Set the LYCIA_CONFIG_PATH Environment Variable

Use LYCIA_CONFIG_PATH in your system environment to specify the non-default path (or paths) to folders containing custom configuration files (for example, to the database.cfg file that specifies the configurations for database connection).

Note: We advise setting a single, non-default location for storing your configuration files to ensure their availability at all times. See the LYCIA_CONFIG_PATH page for details.

How to set LYCIA_CONFIG_PATH on Linux:

Step 1. Open your system configuration file in a text editor (for example, /etc/profile or ~/.bashrc).

Step 2. Set the value for LYCIA_CONFIG_PATH.

Configuration File Search Order: Lycia searches for the configuration files in the following order:

Exception: inet.env's path is first searched for and taken from listener.xml (if listener.xml exists). If not, inet.env is searched for like any other configuration file.

5B. (Optional) Create the listener.xml File

You can store the listener.xml file within the LYCIA_CONFIG_PATH folder, or you can specify its location separately using the LISTENERXML environment variable in your system environment.

Example for LISTENERXML on Linux:

Set LISTENERXML=/path/to/the/listener.xml in a system configuration file (for example, /etc/environment).

Note: After creating and filling your listener.xml file, or after any further changes to it, you need to restart the web server:

Start: sudo service qx-web start

Stop: sudo service qx-web stop

Restart: sudo service qx-web restart

For more on LYCIA_CONFIG_PATH configuration, refer to the LYCIA_CONFIG_PATH documentation page.

 

See next: 6. Provide the Compiler Configurations

 

Contact Us

Privacy Policy

Copyright © 2026 Querix, (UK) Ltd.