Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
- <providers>
- <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
- </providers>
- <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:repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</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>
- <!-- For an explanation of the properties, see: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html -->
- <datasource>
- <name>WSO2AM_STATS_DB</name>
- <description>The datasource used for setting statistics to API Manager.</description>
- <jndiConfig>
- <name>jdbc/WSO2AM_STATS_DB</name>
- </jndiConfig>
- <definition type="RDBMS">
- <configuration>
- <defaultAutoCommit>false</defaultAutoCommit>
- <url>jdbc:mysql://localhost:3306/teststatsdb</url>
- <username>statsadmin</username>
- <password>statsadmin</password>
- <maxActive>50</maxActive>
- <maxWait>60000</maxWait>
- <testOnBorrow>true</testOnBorrow>
- <validationQuery>SELECT 1</validationQuery>
- <validationInterval>30000</validationInterval>
- </configuration>
- </definition>
- </datasource>
- </datasources>
- </datasources-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement