连接池

<Context path="" docBase="E:/sfj/WebRoot" reloadable="true">
<Resource name="jdbc/SDB"
auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/sfj?characterEncoding=utf-8&amp;useUnicode=true"
username="root"
password="greenriver"
maxActive="100"
maxIdle="10"
maxWait="-1" removeAbandoned="true" removeAbandonedTimeout="20" logAbandoned="true"/>
</Context>

posted @ 2013-12-13 18:37  kin2321  阅读(129)  评论(0编辑  收藏  举报