|
|
|
@ -217,5 +217,26 @@
|
|
|
|
|
</configuration>
|
|
|
|
|
</definition>
|
|
|
|
|
</datasource>
|
|
|
|
|
<datasource>
|
|
|
|
|
<name>AndroidSenseDM_DB</name>
|
|
|
|
|
<description>The datasource used for the Android-Sense database</description>
|
|
|
|
|
<jndiConfig>
|
|
|
|
|
<name>jdbc/AndroidSenseDM_DB</name>
|
|
|
|
|
</jndiConfig>
|
|
|
|
|
<definition type="RDBMS">
|
|
|
|
|
<configuration>
|
|
|
|
|
<url>jdbc:h2:repository/database/AndroidSenseDM_DB;DB_CLOSE_ON_EXIT=FALSE
|
|
|
|
|
</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>
|
|
|
|
|
</datasources>
|
|
|
|
|
</datasources-configuration>
|
|
|
|
|