Editing the MapViewer Configuration File Administrative Restarting the MapViewer Server Administrative

MapViewer XML Requests: Administrative and Other 7-13 clear_theme_cache succeed=true non_map_response

7.7 Editing the MapViewer Configuration File Administrative

The edit_config_file element lets you edit the MapViewer configuration file mapViewerConfig.xml. It has the following definition: ELEMENT non_map_request edit_config_file ELEMENT edit_config_file EMPTY Specify the request as follows: ?xml version=1.0 standalone=yes non_map_request edit_config_file non_map_request After you submit the request, you are presented with an HTML form that contains the current contents of the MapViewer configuration file. Edit the form to make changes to the content, and click the Save button to commit the changes. However, the changes will not take effect until you restart the MapViewer server see Section 7.8 .

7.8 Restarting the MapViewer Server Administrative

In general, the safest method for restarting the MapViewer server is to restart its containing OC4J instance. However, if you are running MapViewer in a standalone OC4J environment, or if the OC4J instance is not clustered and it has only one Java process started, you can use the restart element to restart MapViewer quickly without restarting the entire OC4J instance. The restart element has the following definition: ELEMENT non_map_request edit_config_file ELEMENT restart EMPTY Specify the request as follows: ?xml version=1.0 standalone=yes non_map_request restart non_map_request Note: Use the edit_config_file element only if you are running MapViewer in the standalone OC4J environment or in a nonclustered OC4J instance with only one process started. Otherwise, the modifications that you make will be applied only to one MapViewer instance, and inconsistencies may occur. 7-14 Oracle Fusion Middleware Users Guide for Oracle MapViewer 8 Oracle Maps 8-1 8 Oracle Maps Oracle Maps is the name for a suite of technologies for developing high-performance interactive Web-based mapping applications. Oracle Maps is included with MapViewer. This chapter contains the following major sections: ■ Section 8.1, Overview of Oracle Maps