java - Tomcat jdbc connection pool, does not release connections after using -
what may reason tomcat not release connections after using?
herem config
<resource name="jdbc/datasource" auth="container" type="javax.sql.datasource" username="))" password="))" driverclassname="oracle.jdbc.driver.oracledriver" url="))" factory="org.apache.tomcat.jdbc.pool.datasourcefactory" initialsize="55" maxactive="55" maxidle="55" maxwait="15000" testwhileidle="true" testonborrow="true" testonreturn="false" validationquery="select 1 dual" validationinterval="20000" timebetweenevictionrunsmillis="30000" removeabandoned="true" removeabandonedtimeout="60" />
the probable don't close connections after using them. can happens example if don't manage correctly exceptions.
Comments
Post a Comment