Re: HttpSession tracking

2024-03-22 Thread Christopher Schultz
lt -- I guess we got lucky with ours -- our handlers on the session object call out to a "singleton" for tracking, so we probably never really thought too much about it. So if you have an object on the session already, it pays to just extend it and call out to the "singleton" i

Re: HttpSession tracking

2024-03-22 Thread Robert Turner
dlers on the session object call out to a "singleton" for tracking, so we probably never really thought too much about it. So if you have an object on the session already, it pays to just extend it and call out to the "singleton" instead (like we have). Some of the listener docs

Re: HttpSession tracking

2024-03-22 Thread Christopher Schultz
All, On 3/22/24 09:59, Christopher Schultz wrote: All, On 3/22/24 09:33, Robert Turner wrote: On Fri, Mar 22, 2024 at 9:28 AM Christopher Schultz < ch...@christopherschultz.net> wrote: Robert, On 3/21/24 15:31, Robert Turner wrote: We receive the sessionWillPassivate and sessionDidActivate

Re: HttpSession tracking

2024-03-22 Thread Christopher Schultz
All, On 3/22/24 09:33, Robert Turner wrote: On Fri, Mar 22, 2024 at 9:28 AM Christopher Schultz < ch...@christopherschultz.net> wrote: Robert, On 3/21/24 15:31, Robert Turner wrote: We receive the sessionWillPassivate and sessionDidActivate callbacks on startup. Odd that you are not. That's

Re: HttpSession tracking

2024-03-22 Thread Robert Turner
On Fri, Mar 22, 2024 at 9:28 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Robert, > > On 3/21/24 15:31, Robert Turner wrote: > > We receive the sessionWillPassivate and sessionDidActivate callbacks > > on startup. Odd that you are not. That's how we achieve the same. > On 3/21/2

Re: HttpSession tracking

2024-03-22 Thread Christopher Schultz
Robert, On 3/21/24 15:31, Robert Turner wrote: We receive the sessionWillPassivate and sessionDidActivate callbacks on startup. Odd that you are not. That's how we achieve the same. On 3/21/24 16:21, Robert Turner wrote: Just to add a bit more information, our handler class, for better or for

Re: HttpSession tracking

2024-03-21 Thread Robert Turner
Just to add a bit more information, our handler class, for better or for worse, implements the following interfaces all in one class: implements HttpSessionBindingListener, HttpSessionActivationListener, HttpSessionIdListener, HttpSessionListener, ServletContextListener We also use that same cla

Re: HttpSession tracking

2024-03-21 Thread Robert Turner
We receive the sessionWillPassivate and sessionDidActivate callbacks on startup. Odd that you are not. That's how we achieve the same. On Thu, Mar 21, 2024 at 3:25 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > All, > > After having written a solution using JMX to do something li

HttpSession tracking

2024-03-21 Thread Christopher Schultz
All, After having written a solution using JMX to do something like this, I'd like to make it cleaner and I'm not sure it's entirely possible using just Servlet APIs. I'd like to be able to track every HttpSession for the application. for admin purposes, I'd like to be able to analyze: 1. T

Re: Tracking keep alive connections

2023-12-01 Thread Christopher Schultz
Daniel, On 12/1/23 00:09, Daniel Andres Pelaez Lopez wrote: Christopher, So... when a connection is established, save the current timestamp on the connection. When it closes, take the delta of the start-of-connection and end-of-connection, and add it to a bounded queue (say, 100? 1000?) of mos

Re: Tracking keep alive connections

2023-11-30 Thread Daniel Andres Pelaez Lopez
Christopher, So... when a connection is established, save the current timestamp on > the connection. When it closes, take the delta of the > start-of-connection and end-of-connection, and add it to a bounded queue > (say, 100? 1000?) of most-recent-connection-lifetimes. Any time you > request the

Re: Tracking keep alive connections

2023-11-30 Thread Christopher Schultz
Daniel, On 11/30/23 07:08, Daniel Andres Pelaez Lopez wrote: What kind of number are you looking for? I would say something like the time a connection has been open. Can you please give the JMX path to tomcat_connections_keepalive_current and tomcat_connections_current? I have no idea what y

Re: Tracking keep alive connections

2023-11-30 Thread Daniel Andres Pelaez Lopez
> What kind of number are you looking for? I would say something like the time a connection has been open. > Can you please give the JMX path to tomcat_connections_keepalive_current > and tomcat_connections_current? I have no idea what you are talking > about there... is there some tool that prov

Re: Tracking keep alive connections

2023-11-29 Thread Christopher Schultz
Daniel, On 11/28/23 15:23, Daniel Andres Pelaez Lopez wrote: Hi community, We have a heavy workload where the client uses a lot of keep-alive connections, and we want to measure how many keep-alive connections are open, but we cannot find metrics (MBean) with that information. The closest one i

Tracking keep alive connections

2023-11-28 Thread Daniel Andres Pelaez Lopez
Hi community, We have a heavy workload where the client uses a lot of keep-alive connections, and we want to measure how many keep-alive connections are open, but we cannot find metrics (MBean) with that information. The closest one is tomcat_connections_keepalive_current but it seems weird the da

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2019-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 కృష్ణ చైతన్, > On 7/30/19 06:29, కృష్ణ చైతన్య wrote: >>>> Is there a plan to add support for Native Memory Tracking in >>>> Apache Common’s jsvc? > >> There is no need to add support. >> >> C:\Pro

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2019-07-31 Thread కృష్ణ చైతన్య
gt; On 7/30/19 06:29, కృష్ణ చైతన్య wrote: >> Is there a plan to add support for Native Memory Tracking in Apache >> Common’s jsvc? > > There is no need to add support. > > C:\Program Files\Apache Tomcat 9.0.22> SET > JvmArgs=XX:NativeMemoryTracking=detail > >

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2019-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Krishna, On 7/30/19 06:29, కృష్ణ చైతన్య wrote: > Is there a plan to add support for Native Memory Tracking in Apache > Common’s jsvc? There is no need to add support. C:\Program Files\Apache Tomcat 9.0.22> SET JvmArgs=XX:NativeMemor

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2019-07-30 Thread కృష్ణ చైతన్య
> Hi, > > Is there a plan to add support for Native Memory Tracking in Apache Common’s > jsvc? > > Regards, > Krishna Chaitanya. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additi

Re: Tracking down no responding issue after a massive load

2019-07-03 Thread Mark Thomas
On 03/07/2019 15:52, Sanford Liu wrote: > Hi Mark, > > I have updated the Tomcat's version to 9.0.21(Docker image tag is > tomcat:9.0.21-jdk8. Sorry for my word 'official', it is actually built by > Docker). > The Tomcat Native's version is 1.2.21. It is built from > the tomcat-native.tar.gz, whic

Re: Tracking down no responding issue after a massive load

2019-07-03 Thread Sanford Liu
Hi Mark, I have updated the Tomcat's version to 9.0.21(Docker image tag is tomcat:9.0.21-jdk8. Sorry for my word 'official', it is actually built by Docker). The Tomcat Native's version is 1.2.21. It is built from the tomcat-native.tar.gz, which is provided in the tomcat 9.0.21 distribution. I ha

Re: Tracking down no responding issue after a massive load

2019-07-03 Thread Mark Thomas
On 03/07/2019 10:59, Sanford Liu wrote: > Hi Team, > My team are facing a no responding issue in the below circumstances: > > 1. Env: > ApacheTomcat:8.5.15, JDK: 1.8.0_121 That Tomcat version is more than 2 years old. > 2. Tomcat configuration: > enable APR: protocol="org.apache.coyote.http11.

Tracking down no responding issue after a massive load

2019-07-03 Thread Sanford Liu
Hi Team, My team are facing a no responding issue in the below circumstances: 1. Env: ApacheTomcat:8.5.15, JDK: 1.8.0_121 2. Tomcat configuration: enable APR: protocol="org.apache.coyote.http11.Http11AprProtocol" set maxThreads of the Executor: maxThreads="1200" 3. This web server was under a

Re: Tracking down a Basic.sendBinary() issue

2017-03-30 Thread Robert Lewis
Ok. We do lock all our calls to Basic.sendBinary(), also it seems like moving to Tomcat 8.5 fixes the issue. No proof yet why. Since it always happens on our last write out to a client which should trigger a client ack, the client will immediately send an ack back to us (which seems to trigger the

Re: Tracking down a Basic.sendBinary() issue

2017-03-30 Thread Mark Thomas
On 29/03/17 04:04, Robert Lewis wrote: > Thanks Mark. I will take a look at the test you linked in (seems like Clint > already is). > > I have a question regarding your previous note "The short version is that > it is possible that there are two threads". On 8.0.38, doWrite() sets it's > scoped ha

Re: Tracking down a Basic.sendBinary() issue

2017-03-28 Thread Robert Lewis
Rob On Tue, Mar 28, 2017 at 3:46 PM, Mark Thomas wrote: > On 28/03/17 00:30, Robert Lewis wrote: > > Hi, > > > > I am tracking down a fairly sporadic bug in our software that uses Tomcat > > 8.0.38. Long story short, sometimes calls to Basic.sendBinary() to a full &g

RE: Tracking down a Basic.sendBinary() issue

2017-03-28 Thread Dovholuk, Clint
rch 28, 2017 3:47 PM To: Tomcat Users List Subject: Re: Tracking down a Basic.sendBinary() issue On 28/03/17 00:30, Robert Lewis wrote: > Hi, > > I am tracking down a fairly sporadic bug in our software that uses > Tomcat 8.0.38. Long story short, sometimes calls to Basic.sendBinary()

Re: Tracking down a Basic.sendBinary() issue

2017-03-28 Thread Mark Thomas
On 28/03/17 00:30, Robert Lewis wrote: > Hi, > > I am tracking down a fairly sporadic bug in our software that uses Tomcat > 8.0.38. Long story short, sometimes calls to Basic.sendBinary() to a full > buffer then to a small buffer (eg. 8192x3 then 444 bytes). The first 8192 >

Tracking down a Basic.sendBinary() issue

2017-03-27 Thread Robert Lewis
Hi, I am tracking down a fairly sporadic bug in our software that uses Tomcat 8.0.38. Long story short, sometimes calls to Basic.sendBinary() to a full buffer then to a small buffer (eg. 8192x3 then 444 bytes). The first 8192 sends will succeed and occasionally we see the last 444 byte send '

Tracking down a Basic.sendBinary() issue

2017-03-27 Thread Robert Lewis
Hi, I am tracking down a fairly sporadic bug in our software that uses Tomcat 8.0.38. Long story short, sometimes calls to Basic.sendBinary() to a full buffer then to a small buffer (eg. 8192x3 then 444 bytes). The first 8192 sends will succeed and occasionally we see the last 444 byte send '

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2017-03-07 Thread Suvendu Sekhar Mondal
It worked, Mark! When I launched Tomcat from command line, it fired up Bootstrap loader. Then JMC can print NMT statistics. I believe tracking NMT is not a common need. Still, it would be awesome if we can do the same thing with changes in Apache Commons Daemon. Thanks! On Fri, Mar 3, 2017 at 2

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2017-03-03 Thread Mark Thomas
rsion: Tomcat 8.0.20 >>> OS Version: Microsoft Windows 8.1 Enterprise >>> >>> I am trying to enable Native Memory Tracking(NMT) to get internal >>> memory usage deatils about Tomcat process which is running on my >>> system. I have added following flags to

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2017-03-02 Thread Suvendu Sekhar Mondal
(TM) 64-Bit Server VM version 25.91-b15 >> (Java version 1.8.0_91-b15) >> Tomcat Version: Tomcat 8.0.20 >> OS Version: Microsoft Windows 8.1 Enterprise >> >> I am trying to enable Native Memory Tracking(NMT) to get internal >> memory usage deatils about Tomca

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2017-03-02 Thread Mark Thomas
ws 8.1 Enterprise > > I am trying to enable Native Memory Tracking(NMT) to get internal > memory usage deatils about Tomcat process which is running on my > system. I have added following flags to Tomcat's Java options: > -XX:+UnlockDiagnosticVMOptions > -XX:NativeMemory

How to enable Native Memory Tracking(NMT) in Tomcat?

2017-03-02 Thread Suvendu Sekhar Mondal
Hello Everyone, I am new here. :) Environment: Java Version: Java HotSpot(TM) 64-Bit Server VM version 25.91-b15 (Java version 1.8.0_91-b15) Tomcat Version: Tomcat 8.0.20 OS Version: Microsoft Windows 8.1 Enterprise I am trying to enable Native Memory Tracking(NMT) to get internal memory usage

Re: Tracking down memory leak

2015-10-21 Thread David kerber
On 10/21/2015 1:08 PM, Christopher Schultz wrote: Rallavagu, On 10/20/15 9:46 AM, Rallavagu wrote: Please take a look at Memory Analyzer tool (http://www.eclipse.org/mat/). Run the app and take the heap dump while app is running and use the tool to analyze it. You could use VisualVM with plugin

Re: Tracking down memory leak

2015-10-21 Thread Christopher Schultz
Rallavagu, On 10/20/15 9:46 AM, Rallavagu wrote: > Please take a look at Memory Analyzer tool > (http://www.eclipse.org/mat/). Run the app and take the heap dump while > app is running and use the tool to analyze it. You could use VisualVM > with plugins to get instrumentation or you could use hpr

Re: Tracking down memory leak

2015-10-20 Thread Rallavagu
Please take a look at Memory Analyzer tool (http://www.eclipse.org/mat/). Run the app and take the heap dump while app is running and use the tool to analyze it. You could use VisualVM with plugins to get instrumentation or you could use hprof (http://docs.oracle.com/javase/7/docs/technotes/sam

Tracking down memory leak

2015-10-20 Thread David kerber
I'm trying to track down the source of a memory leak in one of my applications. I have examined the code but have been unable to fix it, so am looking for some way of instrumenting my app while running on the server. What is the easiest/best (I realize those two criteria may not give the same

Re: the session tracking of tomcat 6 and tomcat 7 behaves strangely

2015-06-24 Thread Christopher Schultz
> On Tue, Jun 23, 2015 at 2:46 PM, André Warnier >>> wrote: >>> >>>> chedana jayasinghe wrote: >>>> >>>>> In my web application, in a jsp there is a javascript which >>>>> sends request to a servlet every twenty second

Re: the session tracking of tomcat 6 and tomcat 7 behaves strangely

2015-06-24 Thread Tim Watts
;> In my web application, in a jsp there is a javascript which sends request > >>> to a servlet every twenty seconds, so it kills my applications user idle > >>> time tracking by resetting the lastAccessed time in session. the funny > >>> thing is last

Re: the session tracking of tomcat 6 and tomcat 7 behaves strangely

2015-06-24 Thread André Warnier
st accordingly below. chedana jayasinghe wrote: On Tue, Jun 23, 2015 at 2:46 PM, André Warnier wrote: chedana jayasinghe wrote: In my web application, in a jsp there is a javascript which sends request to a servlet every twenty seconds, so it kills my applications user idle time tracking by resetti

Re: the session tracking of tomcat 6 and tomcat 7 behaves strangely

2015-06-23 Thread Christopher Schultz
ere is a javascript which >>> sends request to a servlet every twenty seconds, so it kills my >>> applications user idle time tracking by resetting the >>> lastAccessed time in session. the funny thing is lastAccessed >>> time doesn't get updated in tomc

Re: the session tracking of tomcat 6 and tomcat 7 behaves strangely

2015-06-23 Thread chedana jayasinghe
lication, in a jsp there is a javascript which sends request >> to a servlet every twenty seconds, so it kills my applications user idle >> time tracking by resetting the lastAccessed time in session. the funny >> thing is lastAccessed time doesn't get updated in tomcat

Re: the session tracking of tomcat 6 and tomcat 7 behaves strangely

2015-06-23 Thread André Warnier
chedana jayasinghe wrote: In my web application, in a jsp there is a javascript which sends request to a servlet every twenty seconds, so it kills my applications user idle time tracking by resetting the lastAccessed time in session. the funny thing is lastAccessed time doesn't get updat

the session tracking of tomcat 6 and tomcat 7 behaves strangely

2015-06-22 Thread chedana jayasinghe
In my web application, in a jsp there is a javascript which sends request to a servlet every twenty seconds, so it kills my applications user idle time tracking by resetting the lastAccessed time in session. the funny thing is lastAccessed time doesn't get updated in tomcat 6 a

Re: Session Config => Tracking Mode not working

2014-11-18 Thread Stephen McCants
1:53 +0300 Konstantin Kolinko wrote: > 2014-11-19 0:53 GMT+03:00 Konstantin Kolinko : > > 2014-11-19 0:21 GMT+03:00 Stephen McCants : > >> Hello Konstantin Kolinko, > >> > >> I fixed my dumb web.xml schema declaration. Thanks for pointing that out. > >> &g

Re: Session Config => Tracking Mode not working

2014-11-18 Thread Konstantin Kolinko
2014-11-19 0:53 GMT+03:00 Konstantin Kolinko : > 2014-11-19 0:21 GMT+03:00 Stephen McCants : >> Hello Konstantin Kolinko, >> >> I fixed my dumb web.xml schema declaration. Thanks for pointing that out. >> >> I also added the COOKIE tracking mode to the example ser

Re: Session Config => Tracking Mode not working

2014-11-18 Thread Konstantin Kolinko
2014-11-19 0:21 GMT+03:00 Stephen McCants : > Hello Konstantin Kolinko, > > I fixed my dumb web.xml schema declaration. Thanks for pointing that out. > > I also added the COOKIE tracking mode to the example servlet and it worked > there (the URL encoded link did not cont

Re: Session Config => Tracking Mode not working

2014-11-18 Thread Stephen McCants
Hello Konstantin Kolinko, I fixed my dumb web.xml schema declaration. Thanks for pointing that out. I also added the COOKIE tracking mode to the example servlet and it worked there (the URL encoded link did not contain the JSESSIONID). So, next I turned on logEffectiveWebXml="true

Re: Session Config => Tracking Mode not working

2014-11-17 Thread Konstantin Kolinko
7.0.56. > > First thing I tried was to add session-config/tracking mode to my web.xml, > resulting in: > > > "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" >"http://java.sun.com/dtd/web-app_2_3.dtd";> > http://java.sun.com/xm

Session Config => Tracking Mode not working

2014-11-17 Thread Stephen McCants
Hello, I'm trying to remove the JSESSIONID from my URL the first time someone hits my Tomcat Web App, but I've not been able to get it working for some reason that eludes me. This is under Tomcat 7.0.37 and Tomcat 7.0.56. First thing I tried was to add session-config/tracking

Re: Tomcat 7 | Tracking the completion of the WAR file deployment

2012-10-29 Thread Brett Delle Grazie
Hi, On 29 October 2012 11:35, Anurag Kapur wrote: > Hi, > > I have a few WAR files provided by a supplier where there are environment > specific configurations in files that cannot be moved outside the web > application (It is possible, but since I do not have the source code, I > cannot do it an

Tomcat 7 | Tracking the completion of the WAR file deployment

2012-10-29 Thread Anurag Kapur
Hi, I have a few WAR files provided by a supplier where there are environment specific configurations in files that cannot be moved outside the web application (It is possible, but since I do not have the source code, I cannot do it and this looking for options while the suppliers does this at the

Re: Need help tracking down a strange Threading issue in Tomcat 6, but not 5.5

2010-06-23 Thread Pid
On 22 Jun 2010, at 22:38, Mick Knutson wrote: > have an application I am trying to move to Tomcat 6.0 from Tomcat 5.5. Which versions exactly, (- it does matter)? Also OS, JVM and any other relevant app versions. > This > is a VXML Voice Browser application. > > In this app, the general flow

Need help tracking down a strange Threading issue in Tomcat 6, but not 5.5

2010-06-22 Thread Mick Knutson
have an application I am trying to move to Tomcat 6.0 from Tomcat 5.5. This is a VXML Voice Browser application. In this app, the general flow is: 1. Voice Browser makes http request to jsp 2. jsp might call Service Object 3. Service Object creates new Thread to call external Webservice

RE: Tips on tracking down memory leaks

2010-01-13 Thread Caldarale, Charles R
> From: Greg McCane [mailto:gregmcc...@yahoo.ca] > Subject: Re: Tips on tracking down memory leaks > > Is there any danger in taking a heap dump on our system running in > production? Will it cause a significant performance hit or other nasty? No; taking a heap dump will cause a

Re: Tips on tracking down memory leaks

2010-01-13 Thread Ronald Klop
1:31:16 PM Subject: RE: Tips on tracking down memory leaks > From: Greg McCane [mailto:gregmcc...@yahoo.ca] > Subject: Tips on tracking down memory leaks > > The memory growth appears to be in large chunks rather > than slow, steady growth. Use a heap profiler to find out what'

Re: Tips on tracking down memory leaks

2010-01-13 Thread Greg McCane
Thanks a lot Joe, we are checking our code based on your suggestions. Cheers, Greg From: Joseph Morgan To: Tomcat Users List Sent: Tue, January 12, 2010 11:15:54 PM Subject: RE: Tips on tracking down memory leaks Greg, you've just awakened a 900 lb go

Re: Tips on tracking down memory leaks

2010-01-13 Thread Greg McCane
2010 11:31:16 PM Subject: RE: Tips on tracking down memory leaks > From: Greg McCane [mailto:gregmcc...@yahoo.ca] > Subject: Tips on tracking down memory leaks > > The memory growth appears to be in large chunks rather > than slow, steady growth. Use a heap profiler to find out w

RE: Tips on tracking down memory leaks

2010-01-12 Thread Caldarale, Charles R
> From: Greg McCane [mailto:gregmcc...@yahoo.ca] > Subject: Tips on tracking down memory leaks > > The memory growth appears to be in large chunks rather > than slow, steady growth. Use a heap profiler to find out what's eating up the space and who is allocating it. Even t

RE: Tips on tracking down memory leaks

2010-01-12 Thread Joseph Morgan
cCane [mailto:gregmcc...@yahoo.ca] Sent: Monday, January 11, 2010 8:33 PM To: users@tomcat.apache.org Subject: Tips on tracking down memory leaks Hi Everyone, I am running tomcat 5.5 on Debian Linux (uname says Linux 2.6.26-2-amd64, /etc/debian_version says 5.0.2). The JVM version is 1.5.0_14-b03.

Tips on tracking down memory leaks

2010-01-11 Thread Greg McCane
Hi Everyone, I am running tomcat 5.5 on Debian Linux (uname says Linux 2.6.26-2-amd64, /etc/debian_version says 5.0.2). The JVM version is 1.5.0_14-b03. We have 9 servlets running. The tomcat process itself is managed by monit. We see tomcat memory usage growing over time and have set monit to

Re: Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
t: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkqO258ACgkQ9CaO5/Lv0PDY4wCdGK5ioG0gGP+dOAmtriEKnp2T > coMAoKLSfFV2IpriuRwpUkUlLRWxoAmG > =PbvQ > -END PGP SIGNATURE- > > -

Re: Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
ettings >> that we should look at that might directly relate to this server >> slowdown? >> > It's very hard to give more advice without the customer performing some of > the above steps, so that you've narrowed down the possible areas of > slowdown. It's

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
exton > MH Software, Inc. > http://www.mhsoftware.com/ > Voice: 303 438 9585 > > >> -Original Message- >> From: neilgoldsmith [mailto:ne...@avaya.com] >> Sent: Friday, August 21, 2009 9:11 AM >> To: users@tomcat.apache.org >> Subject: Tracking down a Tomc

Re: Tracking down a Tomcat slowdown

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 8/21/2009 11:10 AM, neilgoldsmith wrote: > periodically they will experience a big slowdown on the app server > which does eventually recover (slows down for maybe an hour). We had > them increase their maxThreads from 150 to 300 and increase

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread George Sexton
ilgoldsmith [mailto:ne...@avaya.com] > Sent: Friday, August 21, 2009 9:11 AM > To: users@tomcat.apache.org > Subject: Tracking down a Tomcat slowdown > > > We have a servlet that handles incoming voice calls at customer > locations, so > you can have bursts of busy time (much

Re: Tracking down a Tomcat slowdown

2009-08-21 Thread Peter Crowther
2009/8/21 neilgoldsmith > My first question, what is the best tool to monitor this so we can get an > accurate description of when the problems occur and what might be at fault? > They just started running perfmon (on a Windows system), but as of yet I > have not seen any data from it. Is there

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread George Sexton
and dig deeper to justify your assumptions. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: neilgoldsmith [mailto:ne...@avaya.com] > Sent: Friday, August 21, 2009 9:21 AM > To: users@tomcat.apache.org > Subject:

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
s using up CPU/IO Bandwidth? > > George Sexton > MH Software, Inc. > http://www.mhsoftware.com/ > Voice: 303 438 9585 > > >> -Original Message- >> From: neilgoldsmith [mailto:ne...@avaya.com] >> Sent: Friday, August 21, 2009 9:11 AM >>

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread George Sexton
day, August 21, 2009 9:11 AM > To: users@tomcat.apache.org > Subject: Tracking down a Tomcat slowdown > > > We have a servlet that handles incoming voice calls at customer > locations, so > you can have bursts of busy time (much like web traffic). A customer > of > ours

Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
ata from it. Is there a better monitoring tool? Second question, what might we do to improve Tomcat performance? Should we continue to tweak the max threads and heap size? Any other Tomcat settings that we should look at that might directly relate to this server slowdown? thank you

Re: User tracking/monitoring

2009-06-01 Thread Tim Funk
Already answered in this thread here: http://www.nabble.com/Re%3A-User-tracking-monitoring-p23792941.html -Tim Chetan Chheda wrote: I had to add <%= request.getSession().getId()%> for it to display the sessionId. Tim, Can you elaborate on what the side effects would be to displ

Re: User tracking/monitoring

2009-06-01 Thread Chetan Chheda
Users List Sent: Monday, June 1, 2009 11:54:26 AM Subject: Re: User tracking/monitoring The snippet I post was the snippet.  (if you are using jsp) But it can have security side effects. A safer snippet might be this: <%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix=

Re: User tracking/monitoring

2009-06-01 Thread Tim Funk
The snippet I post was the snippet. (if you are using jsp) But it can have security side effects. A safer snippet might be this: <%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %> ${(fn:split(pageContext.session.id, '.')[fn:length(fn:split(pageContext.session.id, '.'))-1]

Re: User tracking/monitoring

2009-06-01 Thread Chetan Chheda
29, 2009 1:59:01 PM Subject: RE: User tracking/monitoring > From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] > Subject: User tracking/monitoring > > Is there anyway we can add the tomcat sessionID to their page so > that they can tell us where they are? Besides adding it to some

Re: User tracking/monitoring

2009-05-30 Thread Rainer Jung
On 29.05.2009 18:58, Tim Funk wrote: > Add this to your footer? > SESSION ID: ${pageContext.session.id} Beware though, that in some security sensitive contexts this is not adequate, e.g. if users print out or save pages and share those with others, session takeover is made much more simple (at lea

RE: User tracking/monitoring

2009-05-29 Thread Caldarale, Charles R
> From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] > Subject: User tracking/monitoring > > Is there anyway we can add the tomcat sessionID to their page so > that they can tell us where they are? Besides adding it to some common component of each page of the web site as Tim

Re: User tracking/monitoring

2009-05-29 Thread Tim Funk
Add this to your footer? SESSION ID: ${pageContext.session.id} -Tim Chetan Chheda wrote: All, In our production environment we load balance across 4 tomcats that are split among 2 physical servers. This is a high traffic website and we get calls from users for a number of support issues

User tracking/monitoring

2009-05-29 Thread Chetan Chheda
All, In our production environment we load balance across 4 tomcats that are split among 2 physical servers. This is a high traffic website and we get calls from users for a number of support issues and for most of these issues the first step is to find out what tomcat instance they ended

RE: Tracking down OOM - PermGen using jmap and jhat

2009-03-10 Thread Caldarale, Charles R
> From: Darryl Pentz [mailto:djpe...@yahoo.com] > Subject: Re: Tracking down OOM - PermGen using jmap and jhat > > I found this thread: > http://forum.springframework.org/printthread.php?t=21383&pp=40 There's a lot of real BS in that thread. There is one accurate and u

Re: Tracking down OOM - PermGen using jmap and jhat

2009-03-10 Thread Darryl Pentz
be making any major architectural changes and Tomcat has worked well for us in all other respects. Thanks again, Darryl - Original Message From: "Caldarale, Charles R" To: Tomcat Users List Sent: Tuesday, March 10, 2009 5:52:29 PM Subject: RE: Tracking down OOM - PermGen

RE: Tracking down OOM - PermGen using jmap and jhat

2009-03-10 Thread Caldarale, Charles R
> From: Darryl Pentz [mailto:djpe...@yahoo.com] > Subject: Re: Tracking down OOM - PermGen using jmap and jhat > > I tried using JConsole's GC button, but > clearly this didn't do the trick. Did clicking the button run a major GC (aka PS MarkSweep)? Are any clas

Re: Tracking down OOM - PermGen using jmap and jhat

2009-03-09 Thread Darryl Pentz
Hi Charles, Thanks for the info. I recall a post of yours I read on the Nabble list related to this stuff so I appreciate and value your feedback. I think I misspoke earlier. When I said the memory is still littered with the application classes, I mean virtually everything, thousands of dynami

RE: Tracking down OOM - PermGen using jmap and jhat

2009-03-09 Thread Caldarale, Charles R
> From: Darryl Po force a entz [mailto:djpe...@yahoo.com] > Subject: Tracking down OOM - PermGen using jmap and jhat > > in both cases when I run jmap/jhat the resulting output shows > the memory to still be littered with the application classes. Which is likely the exact mem

Tracking down OOM - PermGen using jmap and jhat

2009-03-09 Thread Darryl Pentz
I'm using this article: http://blogs.sun.com/fkieviet/entry/how_to_fix_the_dreaded to try and isolate an apparent memory leak in our web application. It has been functioning fine until a new release which we deployed over this last weekend. Now suddenly we're hitting PermGen OOM's within the f

Re: RES: Download Tracking

2008-11-13 Thread Mike Duncan
te the buttons that are pressed by the user? > > Sio > > -Mensagem original- > De: Mike Duncan [mailto:[EMAIL PROTECTED] > Enviada em: quinta-feira, 13 de novembro de 2008 16:52 > Para: Tomcat Users List > Assunto: Re: Download Tracking > > > It may not be

Re: Download Tracking

2008-11-13 Thread Mike Duncan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I do not know of one off-hand except for the standard ones like FileZilla or something. But, these won't help you out of the box. You would almost have to create one to work with your specific back-end. You could however, grab an Open Source project f

RES: Download Tracking

2008-11-13 Thread siomara
16:52 Para: Tomcat Users List Assunto: Re: Download Tracking -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It may not be worth the resources, but you can develop/use a download manager could do this for you. Especially if these are large files, the users may be happy to use something like that

RES: Download Tracking

2008-11-13 Thread siomara
16:50 Para: Tomcat Users List Assunto: Re: Download Tracking > I have a java application under Tomcat that is supposed to track people' > downloads. > > > > The user clicks on a link (to download a file) and a new record has to be > inserted into a postgreSQL table info

Re: Download Tracking

2008-11-13 Thread David Wall
It may not be worth the resources, but you can develop/use a download manager could do this for you. Especially if these are large files, the users may be happy to use something like that. The manager would basically tell the service to start the download and if you do something like resume fun

Re: Download Tracking

2008-11-13 Thread Mike Duncan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It may not be worth the resources, but you can develop/use a download manager could do this for you. Especially if these are large files, the users may be happy to use something like that. The manager would basically tell the service to start the dow

Re: Download Tracking

2008-11-13 Thread David Wall
I have a java application under Tomcat that is supposed to track people' downloads. The user clicks on a link (to download a file) and a new record has to be inserted into a postgreSQL table informing which file was downloaded. However, I need to insert into postgreSQL only after the u

Download Tracking

2008-11-13 Thread siomara
Hi Everybody, I have a java application under Tomcat that is supposed to track people' downloads. The user clicks on a link (to download a file) and a new record has to be inserted into a postgreSQL table informing which file was downloaded. However, I need to insert into postgreSQL onl

Re: domain level session tracking (cookie based)

2008-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: | In a same web browser instance, if a user visits a.mydomain.com, then click b.mydomain.com in the page, the new page will be a different session. | | For cookie based session tracking, how to configure domain-level ? | | that is

domain level session tracking (cookie based)

2008-07-09 Thread Dave
cookie based session tracking, how to configure domain-level ?    that is , a.mydomain.com and b.mydomain.com share the same session id.   Thanks for help. Dave    

Re: Cookie-less session tracking - whats are the downsides

2008-04-23 Thread Peter Stavrinides
This topic comes up on the list very frequently, you ask ten developers this question you may even get eleven opinions. Your answer is it depends on your use case and security requirements (for example: I may not care, in a shopping cart application, if I write a product id in the URL, but I ma

Re: Cookie-less session tracking - whats are the downsides

2008-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Koberg wrote: | On Thu, 2008-04-17 at 09:38 -0400, Christopher Schultz wrote: |> The only runtime bottleneck is the time required to add |> ";jsessionid=123456789" to your outgoing URLs, which is to say "pretty |> much nothing". The en

Re: Cookie-less session tracking - whats are the downsides

2008-04-17 Thread Robert Koberg
On Thu, 2008-04-17 at 09:38 -0400, Christopher Schultz wrote: > The only runtime bottleneck is the time required to add > ";jsessionid=123456789" to your outgoing URLs, which is to say "pretty > much nothing". The engineering bottleneck is that you have to run all > your URLs through HttpServletRe

  1   2   >