...
- Java Development Kit/JRE version 1.6.* or 1.7.* JDK setup instructions are given in section Installation Prerequisites. .
- Download and install WSO2 BAM using the instructions given in BAM Installation Guide: http://docs.wso2.org/wiki/display/BAM201/business-activity-monitor/Installation+Guide.
Building and Running the Sample
...
Code Block | ||
---|---|---|
| ||
<datasource> <name>WSO2AM_STATS_DB</name> <description>The datasource used for getting statistics to API Manager</description> <jndiConfig> <!-- This jndi name should be same as the DataSourceName defined in api-manager.xml --> <name>jdbc/WSO2AM_STATS_DB</name> </jndiConfig> <definition type="RDBMS"> <configuration> <!-- JDBC URL to query the database --> <url>jdbc:h2:<BAPIM<BAM_HOME>/repository/database/APIMGTSTATS_DB;AUTO_SERVER=TRUE</url> <username>wso2carbon</username> <password>wso2carbon</password> <driverClassName>org.h2.Driver</driverClassName> <maxActive>50</maxActive> <maxWait>60000</maxWait> <testOnBorrow>true</testOnBorrow> <validationQuery>SELECT 1</validationQuery> <validationInterval>30000</validationInterval> </configuration> </definition> </datasource> |
...