tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: how to refresh connection pool before it gets completely busy
Date Wed, 02 Feb 2011 16:12:24 GMT
2011/2/1 Rhonny David <rhonnydavid@yahoo.com>:
> <Resource factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"

Tomcat does not implement those connection pools per se, but borrows
implementation from the Commons Pool and Commons DBCP components of
Apache Commons. It renames the packages at build time, to avoid
conflict if the same classes are directly used by deployed webapps.

You can look into build.properties.default file in the sources of
Tomcat version that you are using to see what versions of those
components were used at build time.

If you need custom behaviour, your best bet is to extend those classes
and use them instead of Tomcat-provided ones.


If you have questions it is best to ask on their mailing list,
http://commons.apache.org/dbcp/mail-lists.html

http://commons.apache.org/dbcp/configuration.html


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message