Tomcat 7
Is there a way via a Java servlet to get the number of tomcat connections?
Thanks,
Lance Campbellhttp://illinois.edu/person/lance
Software Architect
Web Services at Public Affairs
217-333-0382
[University of Illinois at Urbana-Champaign logo]http://illinois.edu/
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
-
To
-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 Java servlet
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: Tomcat Users List
Subject: Re: Programmatically retrieve number of tomcat
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 la...@illinois.edu wrote:
Good question. I would like to have a servlet that would return to me
the number of tomcat HTTP connections. I
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 la...@illinois.edu wrote:
Good question. I would like to have a servlet that would return to me
the number of tomcat HTTP
,
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 simple
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 before the call
Isn't Filter.doFilter() called once for each incoming http request?
On Jul 31, 2014 10:24 AM, Caldarale, Charles R chuck.caldar...@unisys.com
wrote:
From: Igal @ getRailo.org [mailto:i...@getrailo.org]
Subject: Re: Programmatically retrieve number of tomcat connections
1) you create
-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 the Filter interface
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 COMMUNICATION MAY
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_
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 why
13 matches
Mail list logo