reloadable="true" >
< Resource name="jdbc/WorkshopDB"
auth="Container"
type="javax.sql.DataSource" />
< ResourceParams name="jdbc/WorkshopDB">
< parameter>
< name>factory< /name>
< value>org.apache.commons.dbcp.BasicDataSourceFactory< /value>
< /parameter>
< parameter>
< name>maxActive< /name>
< value>100< /value>
< /parameter>
< parameter>
< name>maxIdle< /name>
< value>30< /value>
< /parameter>
< parameter>
< name>maxWait< /name>
< value>10000< /value>
< /parameter>
文章来源于领测软件测试网 https://www.ltesting.net/