Proxool -0.8.3
Proxool.xml mysql 配置
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- the proxool configuration can be embedded within your own application's.
Anything outside the "proxool" tag is ignored. -->
<something-else-entirely>
<proxool>
    <alias>ujs</alias>
    <driver-url>jdbc:mysql://localhost:3306/ujs?useUnicode=true&amp;characterEncoding=UTF-8</driver-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <driver-properties>
      <property name="user" value="root"/>
      <property name="password" value="myoa888"/>
    </driver-properties>
    <maximum-connection-count>200</maximum-connection-count>
    <house-keeping-test-sql>select CURRENT_DATE</house-keeping-test-sql>
</proxool>
</something-else-entirely>

myweb.xml
<!--连接池
-->
 <display-name>proxool</display-name>
 <servlet>
   <servlet-name>ServletConfigurator</servlet-name>
   <servlet-class>org.logicalcobwebs.proxool.configuration.ServletConfigurator</servlet-class>
   <init-param>
  <param-name>xmlFile</param-name>
  <param-value>WEB-INF/proxool.xml</param-value>
   </init-param>
        <load-on-startup>1</load-on-startup>
 </servlet>

 <servlet>
   <servlet-name>proxool_Admin</servlet-name>
   <servlet-class>org.logicalcobwebs.proxool.admin.servlet.AdminServlet</servlet-class>
 </servlet>

 <servlet-mapping>
   <servlet-name>proxool_Admin</servlet-name>
   <url-pattern>/proxoolAdmin</url-pattern>
 </servlet-mapping>