Advertisement
Guest User

Untitled

a guest
Sep 11th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. <datasource jta="true" jndi-name="java:jboss/jdbc/cobot-dev" pool-name="cobot-dev" enabled="true" use-ccm="true" statistics-enabled="false">
  2. <connection-url>jdbc:mysql://dev.dzssolutions.com.br:3306/db_cobot_dev?useUnicode=true&amp;characterEncoding=utf-8&amp;createDatabaseIfNotExist=true</connection-url>
  3. <driver-class>com.mysql.jdbc.Driver</driver-class>
  4. <connection-property name="useSSL">
  5. false
  6. </connection-property>
  7. <connection-property name="useCompression">
  8. true
  9. </connection-property>
  10. <connection-property name="autoReconnect">
  11. true
  12. </connection-property>
  13. <connection-property name="loginTimeout">
  14. 0
  15. </connection-property>
  16. <connection-property name="connectionAttributes">
  17. program_name:cobot-web
  18. </connection-property>
  19. <driver>mysql</driver>
  20. <new-connection-sql>SELECT 1</new-connection-sql>
  21. <pool>
  22. <max-pool-size>20</max-pool-size>
  23. <prefill>false</prefill>
  24. <flush-strategy>FailingConnectionOnly</flush-strategy>
  25. </pool>
  26. <security>
  27. <user-name>dzs_dev</user-name>
  28. <password>dev!2000</password>
  29. </security>
  30. <validation>
  31. <validate-on-match>false</validate-on-match>
  32. <background-validation>false</background-validation>
  33. </validation>
  34. <timeout>
  35. <set-tx-query-timeout>true</set-tx-query-timeout>
  36. <blocking-timeout-millis>30000</blocking-timeout-millis>
  37. <idle-timeout-minutes>1</idle-timeout-minutes>
  38. <query-timeout>120</query-timeout>
  39. <use-try-lock>160</use-try-lock>
  40. <allocation-retry>0</allocation-retry>
  41. <allocation-retry-wait-millis>0</allocation-retry-wait-millis>
  42. </timeout>
  43. <statement>
  44. <track-statements>true</track-statements>
  45. <prepared-statement-cache-size>5000</prepared-statement-cache-size>
  46. <share-prepared-statements>true</share-prepared-statements>
  47. </statement>
  48. </datasource>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement