Configuring BIRT Analytics Application
BIRT Analytics Application is the web application that contains business logic and handles communication between the client application and the BIRT Analytics engine system.
BIRT Analytics Application reads configuration parameters from the file configuration.xml. On a Windows system, the location of configuration.xml is:
<BIRTAnalytics Installation folder>\ApplicationWS\WEB-INF\settings
On a Linux system, the location of configuration.xml is:
<BIRTAnalytics Installation folder>/ApplicationWS/WEB-INF/settings
Each parameter is an XML element in the <configuration> element. The value of the parameter is the element value.
Listing 2‑1 shows the configuration settings in the configuration.xml file for BIRT Analytics Application installed in C:\BIRTAnalytics on a Windows system.
Listing 2‑1 BIRT Analytics Application configuration settings
<configuration>
<!-- license -->
<license>C:\BIRTAnalytics\data\ApplicationWS\electron.lic</license>
 
<!-- database settings -->
<dbdriver>org.postgresql.Driver</dbdriver>
<dburl>jdbc:postgresql://localhost:8111/wpt</dburl>
<dbuser>user</dbuser>
<dbpassword>password</dbpassword>
<dbmaxactive>20</dbmaxactive>
<dbmaxidle>10</dbmaxidle>
<dbmaxwait>-1</dbmaxwait>
 
<!-- uploading files. Unit is Kb -->
<maxmemsize>1024</maxmemsize>
<maxfilesize>51200</maxfilesize>
 
<!-- Actuate API WSDL file name -->
<actuateapiwsdl>ActuateAPI.wsdl</actuateapiwsdl>
 
<!-- directories -->
<mapdir>C:\BIRTAnalytics\data\ApplicationWS\map</mapdir>
<stylesdir>C:\BIRTAnalytics\data\ApplicationWS\styles</stylesdir>
<cachedir>C:\BIRTAnalytics\data\ApplicationWS\cache</cachedir>
<importdir>C:\BIRTAnalytics\data\ApplicationWS\import</importdir>
<exportdir>C:\BIRTAnalytics\data\ApplicationWS\export</exportdir>
<campaigndir>C:\BIRTAnalytics\data\ApplicationWS\campaign</campaigndir>
 
<!-- fastdb engine settings -->
<engineuser>SYSTEM</engineuser>
<enginepwd>PASSWORD</enginepwd>
<engineserver>localhost</engineserver>
<engineport>8105</engineport>
<engineignoredangerous>false</engineignoredangerous>
<enginesecure>false</enginesecure>
<enginemaxconnection>127</enginemaxconnection>
<enginemaxpoolEntries>127</enginemaxpoolEntries>
 
<!-- collect data for statistics -->
<columnstatistics>1</columnstatistics>
 
<!-- crosstab settings -->
<crosstabpagesize>1000</crosstabpagesize>
<!-- languages -->
<defaultlanguage>en_US</defaultlanguage>
 
<!-- association rule settings -->
<maxPageSizeReadingTransactionsForAssociationRuleAnalysis>10000</maxPageSizeReadingTransactionsForAssociationRuleAnalysis>
<maxTransactionsAllowedForAssociationRuleAnalysis>10000000</maxTransactionsAllowedForAssociationRuleAnalysis>
<maxItemsAllowedForAssociationRuleAnalysis>10000000</maxItemsAllowedForAssociationRuleAnalysis>
<maxRulesAllowedForAssociationRuleAnalysis>1000</maxRulesAllowedForAssociationRuleAnalysis>
<!-- time series forecasting settings -->
<maxPastIntervalsAllowed>1000</maxPastIntervalsAllowed>
 
<!-- sensitive log file -->
<sensitivelogfile>C:\BIRTAnalytics\log\electronsensitive.log</sensitivelogfile>
<!-- location of BAConnectors -->
<baconnector>http://localhost:8110/baconnectors/metainf</baconnector>
<baconnectordata>http://localhost:8110/baconnectors/data</baconnectordata>
 
</configuration>