To provide a correct work of web application, BI server connection settings and web application settings must be defined. Those settings are specified in the PP.xml file that can be located in two places:
In the BI server installation folder. It is used to set up web application settings.
The PP.xml file must be located in the S\Services\PP.SOM.Som\ folder, where S is the path where BI server is installed.
In the web application back end installation folder. It is used to define BI server connection settings and web application settings.
The path with the PP.xml file location depends on the web server type that is in use:
ASP.NET (IIS). S\Config.
Java (Apache Tomcat). S\pp\config.
Apache. S\config.
Where S is the path to the installation folder of web application back end.
For example:
ASP.NET (IIS) and Apache:
C:\Program Files\Foresight\Foresight Analytics Platform 9.2 Web Application\Config\PP.xml
Java (Apache Tomcat):
C:\Tomcat\webapps\pp\config\PP.xml
Java (Apache Tomcat):
/var/lib/tomcat7/webapps/pp/config
Apache:
/opt/Foresight/fp9.2-dhtml/config
NOTE. If the PP.xml file is located both in the web application back end installation folder and BI server installation folder, then web application settings from PP.xml in the BI server installation folder have the higher priority than the same settings from PP.xml file in the web application back end installation folder.
The PP.xml file must contain the <pp> section including children sections with settings.
NOTE. In order that changes will be applied, reset BI server and web server used by web application.
BI server connection parameters are defined in the sections:
Section | Brief description |
<service> | BI server parameters allowing direct requests from browser by passing web application back end. |
<proxy> | BI server parameters allowing requests via web application back end. |
NOTE. To provide a correct work it is required to set the url attribute in the <service> section or in the <proxy> section. If this attribute is specified in both sections, the url attribute from the <service> section has the higher priority than the url attribute from the <proxy> section.
Web application is set up in the sections:
Section | Brief description |
<metabase> | Parameters of the repository in use. |
<oAuthService> | Login via OAuth (Twitter) settings. |
<shareSettings> | It determines whether the Share drop-down menu in the main menu and the set of the drop-down items must be hidden. |
<cultures> | It determines interface languages that are available for web application. |
<modules> | Settings of the Foresight Analytics Platform tools and of the extensions and custom units connections. |
<plugins> | Additional plugins connection. |
<chart> | Chart settings. |
<tabSheet> | Table settings. |
<imageLists> | Sprite settings. |
<embed> |
It indicates whether it is possible to get a link to dashboard or dashboard block. |
NOTE. To provide a correct work it is required to set up only the <metabase> section.
The example of minimum required settings enabling web application functioning is given.
The following options are available:
BI server connection settings and web application settings are defined in the PP.xml file located in the , web application back end installation folder:
<?xml version="1.0" encoding="utf-8" ?>
<pp>
<service url="http://localhost/fpBI_App_v9.2x64/axis2/services/PP.SOM.Som" />
<metabase id="FPRepository"/>
</pp>
Web application settings are specified in the PP.xml file located in the BI server installation folder:
<?xml version="1.0" encoding="utf-8" ?>
<pp>
<metabase id="FPRepository"/>
</pp>
Web application settings are specified in the PP.xml file located in the web application back end installation folder:
<?xml version="1.0" encoding="utf-8" ?>
<pp>
<service url="http://localhost/fpBI_App_v9.2x64/axis2/services/PP.SOM.Som" />
</pp>
See also:
Installing and Setting Up BI Server | Opening Web Application