tomcat-users mailing list archives

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

Hi,
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 [mailto:antonypaul24@hotmail.com]
>Sent: Thursday, September 09, 2004 1:48 AM
>To: tomcat-user@jakarta.apache.org
>Subject: DBCP - monitoring connections
>
>Hi all,
>    Is there any interface available with DBCP for monitoring no of
active
>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.
>
>rgds
>Antony Paul
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message