tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: DBCP - monitoring connections
Date Thu, 09 Sep 2004 12:48:06 GMT

Yes, just cast the DataSource you get from the JNDI lookup to the
concrete type (org.apache.commons.dbcp.BasicDataSource probably for
you), and call its monitoring methods which are plentiful (see the DBCP
JavaDocs for details).

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Antony Paul []
>Sent: Thursday, September 09, 2004 1:48 AM
>Subject: DBCP - monitoring connections
>Hi all,
>    Is there any interface available with DBCP for monitoring no of
>connections, connections requested, no of rejected connection
>requests,connections removed from pool. I should be capable of taking
>samples every 1 minute or so.
>    Or is it possible to write a class which queries these information.
>Antony Paul
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message