Add datasource for data archival #1394

application-manager-new
charitha 7 years ago
parent 812c8e5c8d
commit feb8fbdc8f

@ -41,5 +41,25 @@
</configuration>
</definition>
</datasource>
<datasource>
<name>DM_ARCHIVAL_DS</name>
<description>The archival datasource used for CDM</description>
<jndiConfig>
<name>jdbc/DM_ARCHIVAL_DS</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<url>jdbc:h2:repository/database/WSO2DM_ARCHIVAL_DS;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>

Loading…
Cancel
Save