Guest User

Untitled

a guest
Oct 25th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. <datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
  2.  
  3. <providers>
  4. <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
  5. </providers>
  6.  
  7. <datasources>
  8. <datasource>
  9. <name>WSO2AM_STATS_DB</name>
  10. <description>The datasource used for getting statistics to API Manager</description>
  11. <jndiConfig>
  12. <name>jdbc/WSO2AM_STATS_DB</name>
  13. </jndiConfig>
  14. <definition type="RDBMS">
  15. <configuration>
  16. <url>jdbc:mysql://mysql-apimdb:3306/statistics?autoReconnect=true&useSSL=false</url>
  17. <username>wso2carbon</username>
  18. <password>wso2carbon</password>
  19. <driverClassName>com.mysql.jdbc.Driver</driverClassName>
  20. <defaultAutoCommit>false</defaultAutoCommit>
  21. <maxActive>50</maxActive>
  22. <maxWait>60000</maxWait>
  23. <testOnBorrow>true</testOnBorrow>
  24. <validationQuery>SELECT 1</validationQuery>
  25. <validationInterval>30000</validationInterval>
  26. </configuration>
  27. </definition>
  28. </datasource>
  29.  
  30. </datasources>
  31.  
  32. </datasources-configuration>
Add Comment
Please, Sign In to add comment