Creating resource configuration files

After defining your resources and their associated virtual servers, you need to create a resource configuration file.

After you have defined your resources and their associated virtual servers, the next step is to create a configuration file. This file is used by the Command Server, Launcher, Transformation Extender Programming Interface, Java API, and Map Designer in determining which virtual servers are active for that map server when executing maps.

The resource configuration file is the key to tying everything together. This file defines the active virtual server (in a resource name file), for the map server and the available resources for that virtual server.

The .mrc file contains specifications for the map server such as:

  • Active virtual server(s) for a map server
  • Associated.mrn file

    Resource name files are associated with the Launcher at the system level.

The specified active resource configuration file is used at runtime for dynamic resource resolution. Because an .mrn file and its file path are specified, the .mrc file is platform-dependent.

To create a resource configuration file

  1. In the navigator, select Configuration Files.
  2. From the File menu, choose New.

    The Save As dialog appears.

  3. Specify the location of the configuration name file by browsing your file structure.
  4. In the File name field, enter the name of the configuration file.
    Note: A default filename, resource.mrc, is specified in the config.yaml file. If you use a different filename and want to specify the .mrc file for a map server through the .ini file, you must manually modify the .ini file with the correct filename. See "Initialization File" for more information.
  5. Click Save As.

    The resource configuration file appears in the navigator.