Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <Context>
- <Resource name="jdbc/myamazing-ds" auth="Container"
- factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" type="javax.sql.DataSource"
- maxActive="100" maxIdle="30" maxWait="5000" username="root" password="amazing"
- testWhileIdle="true" testOnBorrow="true" testOnReturn="false"
- validationQuery="SELECT 1" validationInterval="30000"
- timeBetweenEvictionRunsMillis="30000" minIdle="10" initialSize="10"
- removeAbandonedTimeout="60" removeAbandoned="true" logAbandoned="true"
- minEvictableIdleTimeMillis="30000" driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost:3306/myamazingdb" />
- </Context>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement