Created
July 29, 2017 08:37
-
-
Save jeevan-patil/9f786f8d4946dad04b0b7f2ffa1cb357 to your computer and use it in GitHub Desktop.
Tomcat JDBC connection pool configurations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="dataSource" class="org.apache.tomcat.jdbc.pool.DataSource" destroy-method="close"> | |
<property name="driverClassName" value="${jdbc.driverClassName}" /> | |
<property name="url" value="${jdbc.url}" /> | |
<property name="username" value="${jdbc.username}" /> | |
<property name="password" value="${jdbc.password}" /> | |
<property name="initialSize" value="10"/> | |
<property name="maxActive" value="50"/> | |
<property name="maxIdle" value="10" /> | |
<property name="maxWait" value="100"/> | |
<property name="name" value="Tomcat Connection Pool" /> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment