Advertisement
Guest User

Untitled

a guest
Sep 5th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <add:Resource auth="Container"
  2. driverClassName="oracle.jdbc.OracleDriver"
  3. initialSize="5"
  4. logAbandoned="false"
  5. maxActive="100"
  6. maxWait="180000"
  7. minEvictableIdleTimeMillis="240000"
  8. minIdle="5"
  9. name="jdbc/myDB"
  10. password="${myDB.password}"
  11. url="${myDB.url}"
  12. username="${myDB.username}"
  13. removeAbandoned="true"
  14. removeAbandonedTimeout="60"
  15. timeBetweenEvictionRunsMillis="10000"
  16. type="javax.sql.DataSource"
  17. validationQuery="select 1 from dual"
  18. validationQueryTimeout="10"
  19. validationInterval="10000"
  20. testOnBorrow="true"
  21. testWhileIdle="true"
  22. factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement