Advertisement
Guest User

Untitled

a guest
Mar 15th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. <xa-datasource jndi-name="java:/Foo" pool-name="Foo" enabled="true" use-ccm="true" statistics-enabled="true">
  2. <xa-datasource-property name="url">
  3. jdbc:postgresql://server1,server2/db_name
  4. </xa-datasource-property>
  5. <xa-datasource-property name="ApplicationName">
  6. MyApp
  7. </xa-datasource-property>
  8. <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
  9. <driver>postgresql-jdbc4</driver>
  10. <url-delimiter>,</url-delimiter>
  11. <xa-pool>
  12. <min-pool-size>6</min-pool-size>
  13. <max-pool-size>40</max-pool-size>
  14. <prefill>true</prefill>
  15. <is-same-rm-override>false</is-same-rm-override>
  16. <interleaving>false</interleaving>
  17. <pad-xid>false</pad-xid>
  18. <wrap-xa-resource>false</wrap-xa-resource>
  19. </xa-pool>
  20. <security>
  21. <user-name>foo</user-name>
  22. <password>blah</password>
  23. </security>
  24. <validation>
  25. <validate-on-match>false</validate-on-match>
  26. <background-validation>false</background-validation>
  27. </validation>
  28. <timeout>
  29. <blocking-timeout-millis>3000</blocking-timeout-millis>
  30. <idle-timeout-minutes>60</idle-timeout-minutes>
  31. </timeout>
  32. <statement>
  33. <share-prepared-statements>false</share-prepared-statements>
  34. </statement>
  35. </xa-datasource>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement