RE: DBCP - monitoring connections

2004-09-09 Thread Shapira, Yoav

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:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 1:48 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DBCP - monitoring connections

2004-09-08 Thread Antony Paul
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]