Restoring the mapViewerConfig.xml File

The mapViewerConfig.xml file is overwritten when you run the Reconfiguration Wizard on your domain. You can confirm that the mapViewerConfig.xml file is overwritten by checking its file size. You must restore the original file that you backed up before upgrading your domain with the Upgrade Assistant.

To restore the original mapViewerConfig.xml file:
  1. Change to the following directory:
    • (Linux) cd EXISTING_DOMAIN_HOME/config/fmwconfig/mapviewer/conf
    • (Windows) cd EXISTING_DOMAIN_HOME\config\fmwconfig\mapviewer\conf
  2. Enter the following command to list the files within this directory and check the file size of themapViewerConfig.xml file:
    • (Linux) ls -ltr
    • (Windows) dir

    Note:

    The change in the file size implies that the mapViewerConfig.xml file is overwritten by the reconfiguration template.
  3. Restore the original file by renaming the mapViewerConfig_original.xml to mapViewerConfig.xml.
  4. Enter the following command to list the files again and check the file size of the mapViewerConfig.xml file:
    • (Linux) ls -ltr
    • (Windows) dir
    The file size of the mapViewerConfig.xml file should now match with the file size you obtained while backing up the mapViewerConfig.xml file.