Access to connection pool through tomcat api 2004-01-25 - By Philipp Taprogge
Back Hi!
Philipp von dem Bussche wrote:
> does anybody know, if it's possible, to access information about a > tomcat connection pool through the tomcat api. I am looking for a way to > ask my container, how much connections are still left.
Since pooling is not a feature of the container, this very much depends on the connection pool implementation you are using. The pools I know of do not offer such a feature. If you are sure that your application is not leaking connections, this should hardly be an issue, though. Just choose your pool large enough for your application's needs.
> If this is not possible, does anybody know, if tomcat is ever going to > be extended by this feature ??
I very much doubt it, since connection pooling is not among the features described in the J2EE specifications, let alone for a servlet container. Tomcat is just an implementation of those specs and hence will not provide such an API unless required to.
Phil
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|