forked from community/product-iots
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
<config>
|
|
<datasources>
|
|
<datasource>
|
|
<name>WSO2_CARBON_DB</name>
|
|
<description>The datasource used for registry and user manager</description>
|
|
<jndiConfig>
|
|
<name>jdbc/WSO2CarbonDB</name>
|
|
</jndiConfig>
|
|
<definition type="RDBMS">
|
|
<configuration>
|
|
<url>jdbc:h2:../core/repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9095</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>
|
|
<defaultAutoCommit>false</defaultAutoCommit>
|
|
</configuration>
|
|
</definition>
|
|
</datasource>
|
|
</datasources>
|
|
</config> |