Re: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Igal @ getRailo.org
André -- thank you for making this clear. On 7/31/2014 2:27 PM, André Warnier wrote: Caldarale, Charles R wrote: From: Igal Sapir Subject: RE: Programmatically retrieve number of tomcat connections Isn't Filter.doFilter() called once for each incoming http request? Yes, which is w

Re: Programmatically retrieve number of tomcat connections

2014-07-31 Thread André Warnier
Caldarale, Charles R wrote: From: Igal Sapir [mailto:i...@getrailo.org] Subject: RE: Programmatically retrieve number of tomcat connections Isn't Filter.doFilter() called once for each incoming http request? Yes, which is why it has nothing to do with the number of _connections_.

RE: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Caldarale, Charles R
> From: Igal Sapir [mailto:i...@getrailo.org] > Subject: RE: Programmatically retrieve number of tomcat connections > Isn't Filter.doFilter() called once for each incoming http request? Yes, which is why it has nothing to do with the number of _connections_. - Chuck THIS COM

Re: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 7/31/14, 1:22 PM, Caldarale, Charles R wrote: >> From: Igal @ getRailo.org [mailto:i...@getrailo.org] Subject: Re: >> Programmatically retrieve number of tomcat connections > >> 1) you create a class that implements

RE: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Igal Sapir
Isn't Filter.doFilter() called once for each incoming http request? On Jul 31, 2014 10:24 AM, "Caldarale, Charles R" wrote: > > From: Igal @ getRailo.org [mailto:i...@getrailo.org] > > Subject: Re: Programmatically retrieve number of tomcat connections > > > 1

RE: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Caldarale, Charles R
> From: Igal @ getRailo.org [mailto:i...@getrailo.org] > Subject: Re: Programmatically retrieve number of tomcat connections > 1) you create a class that implements the Filter interface and maintains > the count in an AtomicLong object. > 2) you increment the AtomicLong bef

Re: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Igal @ getRailo.org
hanks, Lance Campbell Software Architect Web Services at Public Affairs 217-333-0382 -Original Message- From: Igal Sapir [mailto:i...@getrailo.org] Sent: Thursday, July 31, 2014 11:35 AM To: Tomcat Users List Subject: RE: Programmatically retrieve number of tomcat connections Write a s

Re: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Mark Thomas
[mailto:i...@getrailo.org] > Sent: Thursday, July 31, 2014 11:35 AM > To: Tomcat Users List > Subject: RE: Programmatically retrieve number of tomcat connections > > Write a simple ServletFilter > On Jul 31, 2014 9:33 AM, "Campbell, Lance" wrote: > >> Good

RE: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Campbell, Lance
: Tomcat Users List Subject: RE: Programmatically retrieve number of tomcat connections Write a simple ServletFilter On Jul 31, 2014 9:33 AM, "Campbell, Lance" wrote: > Good question. I would like to have a servlet that would return to me > the number of tomcat HTTP connections.

RE: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Igal Sapir
do it via a servlet. > > > Thanks, > > Lance Campbell > Software Architect > Web Services at Public Affairs > 217-333-0382 > > > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Thursday, July 31, 2014 11:10 AM > To: Tomc

RE: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Campbell, Lance
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, July 31, 2014 11:10 AM To: Tomcat Users List Subject: Re: Programmatically retrieve number of tomcat connections On 31/07/2014 17:06, Campbell, Lance wrote: > Tomcat 7 > > Is there a way via a Jav

Re: Programmatically retrieve number of tomcat connections

2014-07-31 Thread Mark Thomas
On 31/07/2014 17:06, Campbell, Lance wrote: > Tomcat 7 > > Is there a way via a Java servlet to get the number of tomcat connections? Connections from what to what in what state? With or without non-Servlet API calls? Mark -