You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael L <ma...@lasevich.net> on 2008/03/14 00:59:00 UTC
Number of open DB connections in shared a datasource pool?
I have a DataSource pool defined in Tomcat config shared among multiple
servlets. I would like to monitor its activity level (number of active
connections vs min/max values).
I tried to find a way to monitor it via JMX but found only ways to see
active connection per each servlet - which is sub-optimal as servlet list
keeps changing as developers work on the product. Is it possible to get the
total number of active connections via JMX? Or if not, how do I do I get
total number of active connections from within java? (I can then write my
own mbean for monitoring via JMX)
Thanks,
-M
--
View this message in context: http://www.nabble.com/Number-of-open-DB-connections-in-shared-a-datasource-pool--tp16041502p16041502.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Number of open DB connections in shared a datasource pool?
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Michael L [mailto:max-nabble@lasevich.net]
> Subject: Re: Number of open DB connections in shared a
> datasource pool?
>
> Does LambdaProbe offer data via JMX so that a monitoring
> application can easily read it?
No, Lambda Probe is an open source monitoring and management webapp that
collects data from Tomcat via JMX and displays it on your browser. It
may already show the data you're looking for; if not, you've got the
source code...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Number of open DB connections in shared a datasource pool?
Posted by Michael L <ma...@lasevich.net>.
Thanks.
Does LambdaProbe offer data via JMX so that a monitoring application can
easily read it?
I guess it is open source so I can write my own JMX hooks if not :-/
-M
markt-2 wrote:
>
> Karthik Abram wrote:
>> I'd like to find out about this as well .. anyone have a solution?
>
> http://www.lambdaprobe.org/
>
> Mark
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Number-of-open-DB-connections-in-shared-a-datasource-pool--tp16041502p16266164.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Number of open DB connections in shared a datasource pool?
Posted by Mark Thomas <ma...@apache.org>.
Karthik Abram wrote:
> I'd like to find out about this as well .. anyone have a solution?
http://www.lambdaprobe.org/
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Number of open DB connections in shared a datasource pool?
Posted by Karthik Abram <ka...@gmail.com>.
I'd like to find out about this as well .. anyone have a solution?
On 3/13/08, Michael L <ma...@lasevich.net> wrote:
>
> I have a DataSource pool defined in Tomcat config shared among multiple
> servlets. I would like to monitor its activity level (number of active
> connections vs min/max values).
>
> I tried to find a way to monitor it via JMX but found only ways to see
> active connection per each servlet - which is sub-optimal as servlet list
> keeps changing as developers work on the product. Is it possible to get the
> total number of active connections via JMX? Or if not, how do I do I get
> total number of active connections from within java? (I can then write my
> own mbean for monitoring via JMX)
>
> Thanks,
>
> -M
> --
> View this message in context: http://www.nabble.com/Number-of-open-DB-connections-in-shared-a-datasource-pool--tp16041502p16041502.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org