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
at 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 to get the number of tomcat > connections? > &

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 cal

Programmatically retrieve number of tomcat connections

2014-07-31 Thread Campbell, Lance
Tomcat 7 Is there a way via a Java servlet to get the number of tomcat connections? Thanks, Lance Campbell<http://illinois.edu/person/lance> Software Architect Web Services at Public Affairs 217-333-0382 [University of Illinois at Urbana-Champaign logo]<http://illinois.edu/>

Re: Tomcat connections

2011-04-29 Thread André Warnier
Monty wig wrote: Gurus - I am working on a situation where Apache spits "Proxy Errors" while trying to get a page form Tomcat. We are running Apache 2.2.3 and tomcat 5.5 on the same box and using mod_proxy to redirect traffic to tomcat on port 8080. Tomcat has maxThreads=150 but when we look at

Tomcat connections

2011-04-29 Thread Monty wig
Gurus - I am working on a situation where Apache spits "Proxy Errors" while trying to get a page form Tomcat. We are running Apache 2.2.3 and tomcat 5.5 on the same box and using mod_proxy to redirect traffic to tomcat on port 8080. Tomcat has maxThreads=150 but when we look at the total # of conn

RE: Tomcat connections not closing.

2007-11-02 Thread Roark, Mike
t: Re: Tomcat connections not closing. Mike- I would strongly suggest use of Version Control for archiving your configuration files server.xml/web.xml and context.xml, catalina.policy, logging.properties, workers.properties, tomcat-users.xml In the case of axis you want to archive axis

Re: Tomcat connections not closing.

2007-11-01 Thread Martin Gainty
uot;Tomcat Users List" ; <[EMAIL PROTECTED]> Sent: Wednesday, October 31, 2007 11:04 AM Subject: RE: Tomcat connections not closing. Well, yes and no. Yes, the problem has abated, and possibly been eliminated. However, we have no idea what change fixed it. We changed nothing in tomcat, b

RE: Tomcat connections not closing.

2007-10-31 Thread Roark, Mike
t continuing to look into it, but just keeping watch over it... -Mike -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED] Sent: Saturday, October 27, 2007 10:48 AM To: Tomcat Users List Subject: Re: Tomcat connections not closing. Mike, Have you been able to make an

Re: Tomcat connections not closing.

2007-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: > http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html > > I would check the connectionLinger parameter Version mismatch. :( Please match versions next time you are attempting to give advise. - -chris -BEGIN

Re: Tomcat connections not closing.

2007-10-27 Thread Martin Gainty
http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html I would check the connectionLinger parameter M-- - Original Message - From: "Ralph Goers" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, October 27, 2007 11:47 AM Subject: Re: Tomc

Re: Tomcat connections not closing.

2007-10-27 Thread Ralph Goers
Mike, Have you been able to make any progress with this? I'm very interested in the outcome as we experience the same problem. Ralph Roark, Mike wrote: Filip, Thanks for the help. You were right about the default for disableUploadTimeout. I must have been looking at 5.0 docs before, it loo

RE: Tomcat connections not closing.

2007-10-15 Thread Roark, Mike
m not even seeing that. I would expect if I don't send a GET that the connectionTimeout would definitely apply. -Mike -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 1:18 PM To: Tomcat Users List Subject: Re: Tomcat c

Re: Tomcat connections not closing.

2007-10-10 Thread Filip Hanik - Dev Lists
riginal Message- From: Roark, Mike [mailto:[EMAIL PROTECTED] Sent: Friday, October 05, 2007 9:34 AM To: Tomcat Users List Subject: RE: Tomcat connections not closing. Thanks Filip. We believe that disableUploadTimeout is defaulting to false in our setup. connectionTimeout seems to refer to the

RE: Tomcat connections not closing.

2007-10-10 Thread Roark, Mike
ailto:[EMAIL PROTECTED] Sent: Friday, October 05, 2007 9:34 AM To: Tomcat Users List Subject: RE: Tomcat connections not closing. Thanks Filip. We believe that disableUploadTimeout is defaulting to false in our setup. connectionTimeout seems to refer to the time until the request URI is receive

Re: Tomcat connections not closing.

2007-10-08 Thread Filip Hanik - Dev Lists
connectionTimeout - gets set to your sockets SO_TIMEOUT, but disableUploadTimeout="true" unsets the value in the line above, causing socketWrite0 to not have a timeout, hence if you set disableUploadTimeout="false", then you will make sure that socket read and writes from your servlets/jsps, wil

Re: Tomcat connections not closing.

2007-10-06 Thread rgoers
tor.OutputBuffer.write(OutputBuffer.java:456) at org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:142) at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:276) -- View this message in context: http://www.nabble.com/Tomcat-connections-not-clo

RE: Tomcat connections not closing.

2007-10-05 Thread Roark, Mike
Thank Rainer. That's a good point about the sequence numbers. -Mike -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Friday, October 05, 2007 2:44 AM To: Tomcat Users List Subject: Re: Tomcat connections not closing. Some comments, but not a real sol

RE: Tomcat connections not closing.

2007-10-05 Thread Roark, Mike
though, just to make sure. -Mike -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 4:03 PM To: Tomcat Users List Subject: Re: Tomcat connections not closing. try setting connectionTimeout="

Re: Tomcat connections not closing.

2007-10-05 Thread Rainer Jung
Some comments, but not a real solution: The FIN from the client comes in, when the server had already sent out a couple of packets without getting an ACK. The ACK in the FIN does not ACK the latest server packet, instead it is related to a packet some steps earlier (you can check the sequence

Re: Tomcat connections not closing.

2007-10-04 Thread Filip Hanik - Dev Lists
try setting connectionTimeout="5000" disableUploadTimeout="false" I believe the 2nd parameter, should not set the timeout to infinite while you are inside of a request Filip Roark, Mike wrote: Hello Tomcat users, We are having difficulty with connections to Tomcat remaining open after the

Tomcat connections not closing.

2007-10-04 Thread Roark, Mike
Hello Tomcat users, We are having difficulty with connections to Tomcat remaining open after the client hits "stop" in their browser. This only seems to happen when we have a particular combination of load balancer hardware in front of the tomcats. We are also running apache and have not seen the