tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Baiguera" <ma...@bresciaonline.it>
Subject Re: howto monitor dbcp connection usage?
Date Thu, 18 Sep 2003 17:07:02 GMT
> what I've done in the past is write a dbmanager that uses the underlying driver.  my dbmanager
then implements simple logging and is configurable through web.xml.
can you explain and/or give an example?
thx

----- Original Message ----- 
From: "Peter Lin" <tcw00lfel@yahoo.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, September 18, 2003 4:09 PM
Subject: Re: howto monitor dbcp connection usage?


> 
> what I've done in the past is write a dbmanager that uses the underlying driver.  my
dbmanager then implements simple logging and is configurable through web.xml.
>  
>  
> peter
> 
> Marco Baiguera <marba@bresciaonline.it> wrote:
> i'd like to monitor (log) dbcp connection pool usage.
> i'm using tomcat 4.1.27 with dbcp 1.0 and mysql (j-connector 3.0.8 - mysql 3.23) 
> i'm investigating if my db refuses or closes the connection in fact calling datasource.getconnection
sometimes returns a closed conn (?)
> any hint?
> thanks
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software



Mime
View raw message