Configure the Context File

The context file provides the automatic data loader job with the information it needs to locate the directories and log the file it requires.

Steps

  1. Navigate to the following folder: C:\APMConnect\Config\<system>

  2. Modify the file ContextFile.xml to indicate the values for your system.

    Parameter Description Default or recommended value
    CONFIG_FILE_PATH The path to the context file used for extraction.

    Enter your unique value (e.g., C:\APMConnect\Config\ContextFile.xml).

    SCAN_DIR The directory that contains the directories from which the job retrieves workbooks to load data.

    Enter your unique value (e.g., C:\APMConnect\Dinokeeper).

    IMPORTANT: Because this job runs with administrative authority, you must control user access to this directory.

    ARCHIVE_DIR The directory that the facility uses to archive workbooks.

    Enter your unique value (e.g., C:\APMConnect\Archives).

    LOG_BASE_DIR The path that the facility uses to store the generated log files.

    Enter your unique value (e.g., C:\APMConnect\Log).

    LOG4J_CONFIG_FILE The path to the log4j configuration file.

    Enter your unique value (e.g., C:\APMConnect\Config\log4j.properties).

    Note: This can be the same log4j configuration file that you use for your Adapters. If you want to use log4j settings that are different from the EAM job, then you must configure the context file with different log4j properties.

Copyright © 2018 General Electric Company. All rights reserved.