62,614
社区成员
发帖
与我相关
我的任务
分享
<resource-ref>
<description>MySQL Connection Pool</description>
<res-ref-name>jdbc/mysql</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</Context>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<ResourceLink name="jdbc/mysql" global="jdbc/mysql" type="javax.sql.DataSourcer"/>
</Context>
<Resource
name="jdbc/mysql"
auth="Container"
url="jdbc:mysql://localhost:3306/ssys?useUnicode=true&characterEncoding=utf-8"
username="root"
password="root"
type="javax.sql.DataSource"
drivaerClassName="com.mysql.jdbc.Driver"
maxActive="100"
maxIdle="30"
maxWait="10000"/>
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/salesys" docBase="D:\workspace\salesys" debug="0" workDir="D:\Program Files\Apache Software Foundation\Tomcat 5.5\work\Catalina\localhost\salesys" privileged="true">
</Context>
<Resource
name="jdbc/tracker"
global="jdbc/tracker"
auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/tracker?useUnicode=true&characterEncoding=utf-8"
username="root"
password="root"
maxActive="100"
maxIdle="30"
maxWait="10000"
/>
<Resource
name="jdbc/ec"
auth="Container"
url="jdbc:mysql://localhost:3306/ec?useUnicode=true&characterEncoding=utf-8"
username="root"
password="root"
type="javax.sql.DataSource"
drivaerClassName="com.mysql.jdbc.Driver"
maxActive="100"
maxIdle="30"
maxWait="10000"/>