Advertisement
Guest User

Untitled

a guest
Nov 29th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. <datasource enabled="true" jndi-name="java:jboss/datasources/OracleDS" pool-name="oracle">
  2. <connection-url>jdbc:oracle:thin:@localhost:49161:xe</connection-url>
  3. <connection-property name="oracle.net.encryption_client">accepted</connection-property>
  4. <connection-property name="oracle.net.encryption_types_client">AES128</connection-property>
  5. <connection-property name="oracle.jdbc.ReadTimeout">120000</connection-property>
  6. <driver>oracle</driver>
  7. <security>
  8. <user-name>SYSTEM</user-name>
  9. <password>oracle</password>
  10. </security>
  11. <pool>
  12. <min-pool-size>1</min-pool-size>
  13. <max-pool-size>50</max-pool-size>
  14. <prefill>true</prefill>
  15. <flush-strategy>EntirePool</flush-strategy>
  16. </pool>
  17. <validation>
  18. <validate-on-match>true</validate-on-match>
  19. <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker" />
  20. <use-fast-fail>true</use-fast-fail>
  21. <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker" />
  22. <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter" />
  23. </validation>
  24. <timeout>
  25. <blocking-timeout-millis>1000</blocking-timeout-millis>
  26. <idle-timeout-minutes>10</idle-timeout-minutes>
  27. <query-timeout>110</query-timeout>
  28. </timeout>
  29. <statement>
  30. <share-prepared-statements>false</share-prepared-statements>
  31. </statement>
  32. </datasource>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement