Server Configuration Files

The Runtime Service for IMS requires a configuration file, which you create and save using the IMS management console. Configuration files are saved to different locations and handled in a different way, depending on the circumstances.

When Runtime Service for IMS is installed, a default server configuration file, IMSConnectorConfig.xml, is created and saved to install_directory\Attachmate\EAI\IMSServer\Config.

If you do not use MCS to update the configuration file, the run-time engine uses this default file exclusively. When you use MCS to update the configuration file, depending on whether the run-time service is active when the file is modified, two scenarios are possible.

Scenario One: Runtime Service for IMS is active at MCS configuration time (recommended).

In this scenario, MCS saves a version of the server configuration file to two locations:

If this is not the first time you have edited and saved a configuration file (such as ServerA.cfg in the preceding example), the configuration file is handled as follows:

If you edit the configuration file when
This occurs
The Runtime Service for IMS is not active MCS opens only its version of the configuration file (<Server-Name>.cfg), and saves changes to it.
The Runtime Service for IMS is active MCS asks which version of the file you want to open, and then when changes are made, they are saved to both the MCS version (<Server-Name>.cfg) and the run-time version (IMSConnectorConfigMCS.xml).

Scenario Two: Runtime Service for IMS is not active at MCS configuration time.

If the run-time service is not active when you configure it, you are prompted to create a "default" configuration. If you answer "yes," any edits to the default configuration file are saved within MCS in the install_directory\webapps\mcs\resources\connector_IMS directory. (The name of the file is derived from the Runtime Server name given to your configuration in MCS, in the form <Server_Name>.cfg).

Because the run-time is not active, MCS cannot update any of the configuration files in the install_directory\Attachmate\EAI\IMSServer\Config directory.

To manually update the configuration file:

  1. Create the configuration in MCS.

  2. Copy the configuration file from the MCS directory, install_directory\webapps\mcs\resources\connector_IMS, to the Runtime Service for IMS directory, install_directory\Attachmate\EAI\IMSServer\Config.

  3. Change the name from runtime_server_name.cfg to IMSConnectorConfigMCS.xml.

  4. Modify the IMSConnectorConfig.xml file by changing the first line from MCS="false" to MCS="true".

    This step is necessary so that the run-time engine will use the MCS-created configuration file (IMSConnectorConfigMCS.xml) to define the run-time environment. If MCS="false" is specified, the previously loaded IMSConnectorConfig.xml file will be used to define the run-time environment.

Related Topics
Bullet Configuring Your Run-time Environment
Bullet Starting and Stopping the Runtime Service
Bullet Manually Configuring the Client Environment