Salesforce

Magic.ini File (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Magic.ini File (Magic xpi 4.5)

The Magic.ini file contains all Magic xpi’s variable configuration information. For Magic xpi to start, the Magic.ini file must be present in the <Magic xpi installation>\Runtime\Magic xpa folder. Most of the necessary configuration is done directly through Magic xpi, and the Magic.ini file is updated automatically.

The Magic.ini file is read every time Magic xpi is started and that is when any settings changes take effect.

The Magic.ini file is a free format text file that can be edited using any external text editor. The file is divided into sections and each section contains a group of related settings. Some Magic.ini file sections are used by Magic xpi, and some contain User information. The sections of the Magic.ini file are:

[MAGIC_ENV]

The global environment parameters. Click here for more information.

[MAGIC_SERVERS]

The list of all the remote Servers available for the current installation. In addition, DBMS repository information is contained in this section.

[MAGIC_COMMS]

The list of Magic xpi communications drivers.

[MAGIC_DBMS]

The list of all the DBMSs supported by Magic xpi.

[MAGIC_DATABASES]

The list of all the databases supported by Magic xpi.

[MAGIC_LOGICAL_NAMES]

The environment variables value repository.

[MAGIC_PRINTERS]

The printer information.

[MAGIC_SERVICES]

The list of Magic xpi projects available per Server.

[MAGIC_GATEWAYS]

The list of Magic xpi gateways.

[MAGIC_JAVA]

The information that the Magic xpi Server needs when working with Java. Click here for more information.

[MAGIC_LOGGING]

The Magic xpi logging settings.

[TOOLS_MENU]

The Magic xpi tools menu settings.

[MAGIC_BUILDERS]

The Magic xpi builders settings.

[MAGIC_IBOLT]

Magic xpi settings. Click here for more information.

[MAGICXPI_GS]

Magic xpi 4.x settings. Click here for more information.

The User sections of the Magic.ini file can contain any information that you want to store in it. Typical uses include:

  • The storage of intermediate values that the project produces, such as last positions in different files and programs (for example, 'Last customer processed') without the overhead of using database tables.

  • The storage of global variables. These are values that may be shared by different programs within the project.

There are no concurrency controls when accessing the Magic.ini file. If the Magic.ini file is shared by several users in a multi-user installation, it should be used for read-only purposes. An attempt to write to a shared Magic.ini file by more than one user at the same time will result in one user overwriting the updates of the other.

Note:

You should be very careful when making any changes to the Magic.ini file.

Reference
Attachment 
Attachment