Configuring MapViewer to Support Map Views

21 Configuring Resource Availability and URL Generation 21-1 21 Configuring Resource Availability and URL Generation You can configure how resources are made available for HTTP access and how URLs are generated by Oracle BI Presentation Services. To do so, you modify the instanceconfig.xml file to include the URL element and its interrelated subelements, as described in the following procedure. Before you begin this procedure, ensure that you are familiar with the information in Section 3.4, Using a Text Editor to Update Configuration Settings. To manually edit the settings for resource availability and URL generation: 1. Open the instanceconfig.xml file for editing, as described in Section 3.6, Where Are Configuration Files Located? 2. Locate the section in which you must add the elements that are described in Table 21–1 . 3. Include the elements and their ancestor elements as appropriate, as shown in the following example: ServerInstance URL AbsoluteCommandURLPrefixvalueAbsoluteCommandURLPrefix CustomerResourcePhysicalPathvalueCustomerResourcePhysicalPath CustomerResourceVirtualPathvalueCustomerResourceVirtualPath ForceAbsoluteResourceURLvalueForceAbsoluteResourceURL ResourcePhysicalPathvalueResourcePhysicalPath ResourceServerPrefixvalueResourceServerPrefix ResourceVirtualPathvalueResourceVirtualPath URL ServerInstance 4. Save your changes and close the file. 5. Restart Oracle Business Intelligence. 21-2 System Administrators Guide for Oracle Business Intelligence Enterprise Edition Table 21–1 Elements for URL Generation and Resource File Location Element Description Default Value AbsoluteCommandURLPre fix Specifies how Presentation Services generates command URLs. If you explicitly specify an value, then it must be of the following form: protocol :servervirtualpath where virtualpath is the complete virtual path to Presentation Services. The default is determined separately for each client, based on the URL that the client sends to Presentation Services. Varies CustomerResourcePhysical Path Specifies the physical location of resource files that are not part of a default installation. Such resource files include customized styles and skins. The internal default is ORACLE_ HOME\bifoundation\web\app\res. You must provide a full path. Presentation Services must have read permission to this path. For example, if this is a shared network resource, then you must ensure that the user under which Presentation Services is running has read access to the shared resource and read access to the file system from which the shared resource is exported. Varies CustomerResourceVirtualP ath Specifies the virtual path used for resource files that are not part of a default installation as specified in the CustomerResourcePhysicalPath element. NA ForceAbsoluteResourceUR L Specifies whether Presentation Services always generates fully qualified URLs for resource files that have fully qualified virtual paths. When set to False, resources and the Presentation Services extension are served from one server. When set to True, default resources are served from the same server as the Presentation Services extension, and customer resources are served from another server. Depending on the value of the other settings described in this table, you can also configure to have default and customer resources served from one server, and the Presentation Services extension served from another server. False