Proxool  0.9RC3
JDK 1.5
Tomcat 5.5
Spring 1.2.6
Hibernate 3.2.6Spring 配置:
-----------------------------------------------------------------------------------------------------------
 
xml 代码
    1. <bean id="dataSource"  
   2.         class="org.logicalcobwebs.proxool.ProxoolDataSource">  
   3.         <property name="driver">  
   4.                 <value>oracle.jdbc.driver.OracleDriver</value>  
   5.         </property>  
   6.         <property name="driverUrl">  
   7.                 <value>  
   8.                         jdbc:oracle:thin:user/[email protected]:1521:ORADB  
   9.                 </value>  
  10.         </property>  
  11.         <property name="user">  
  12.                 <value>user</value>  
  13.         </property>  
  14.         <property name="password">  
  15.                 <value>pwd</value>  
  16.         </property>  
  17.         <property name="alias">  
  18.                 <value>xx</value>  
  19.         </property>  
               
為何連接數一直到15,然後整個系統沒有再操作,隔幾分鍾後一個連接都沒有釋放。
正常來講,30秒後應當釋放連接的。
house-keeping-sleep-time:    How long the house keeping thread sleeps for (milliseconds). The house keeper is responsible for checking the state of all the connections and tests whether any need to be destroyed or created. Default is 30 seconds.