Configuring mapViewerConfig.xml for MVDEMO

Complete the following steps to configure the MapViewer configuration file (mapViewerConfig.xml) for MVDEMO:

  1. Go to http://<machine>.<domain>:<port>/mapviewer to access MapViewer.
  2. Log in to MapViewer using the same administration user you use to log in to the WebLogic and Enterprise Manager console.
  3. Select Configuration. The mapViewerConfig.xml configuration file opens.
  4. Under the <security_config> tag, set the following values:

    <disable_direct_info_request> true </disable_direct_info_request>

    <disable_info_request> true </disable_info_request>

    <disable_csf>true</disable_csf>

    <enforce_security_role> true </enforce_security_role>

  5. Under the <security_config> tag set the machine name. Replace <machine> and <domain> with the host name where the MapViewer instance is running:

    <proxy_enabled_hosts>

    http://<machine>.<domain>:<port>/mapviewer,http://<machine>.<domain>:<port>/

    </proxy_enabled_hosts>

  6. Scroll down to the sample data source (which is commented out):

    <map_data_source name="mvdemo"

    jdbc_host="db1.my_corp.com"

    jdbc_sid="orcl"

    jdbc_port="1521″

    jdbc_user="scott"

    jdbc_password="!tiger"

    jdbc_mode="thin"

    number_of_mappers="3″

    allow_jdbc_theme_based_foi="false"

    />

  7. Use this sample data source to create your own data source to the database where the spatial data and MapViewer metadata resides. Copy and paste the tag just below the existing one. Make sure that you do not copy the comment tags (<!– and –>). For example:

    <map_data_source name="mvdemo"

    jdbc_host="<machine>.<domain>"

    jdbc_sid="<OracleSID>"

    jdbc_port="<port>″

    jdbc_user="mvdemo"

    jdbc_password="!mvdemo"

    jdbc_mode="thin"

    number_of_mappers="8″

    allow_jdbc_theme_based_foi="true"

    editable="false"

    />

    where <machine> and <domain> are the hostname, <OracleSID> is your Oracle SID value (by default, obiee12c), and <post> is your database post (by default, 1521).

    Note: The exclamation point (!) preceding the password indicates that the password will be encrypted when the MapViewer instance is restarted.

  8. Click Save.
  9. Scroll down to the sample Map Data Server configuration (which is commented out). Enter the following as the Map Data Server configuration:

    <mds_config>

    <data_source_name="mvdemo">

    <allow_predefined_themes>true</allow_predefined_themes>

    <allow_dynamic_themes>true</allow_dynamic_themes>

    </data_source>

    </mds_config>

  10. Click Save.
  11. After the save completes, click Restart.


Legal Notices | Your Privacy Rights
Copyright © 1999, 2020

Last Published Wednesday, October 20, 2021