Re: Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-28 Thread Mark Thomas
On 28/07/2023 13:50, Rémy Maucherat wrote: On Thu, Jul 27, 2023 at 5:04 PM Mark Thomas wrote: I've refactored things to the point where the unit tests run without generating any warnings for pinning. I suspect further issues will be identified over time and we can address those as they are

Re: Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-28 Thread Rémy Maucherat
On Thu, Jul 27, 2023 at 5:04 PM Mark Thomas wrote: > > I've refactored things to the point where the unit tests run without > generating any warnings for pinning. I suspect further issues will be > identified over time and we can address those as they are found. Ok, so the changes for Loom are:

Re: Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-27 Thread Mark Thomas
I've refactored things to the point where the unit tests run without generating any warnings for pinning. I suspect further issues will be identified over time and we can address those as they are found. Mark On 25/07/2023 10:21, Mark Thomas wrote: Never mind. Pretty much as soon as I hit

Re: Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-25 Thread Mark Thomas
Never mind. Pretty much as soon as I hit send I managed to trigger the issue. Mark On 25/07/2023 10:19, Mark Thomas wrote: Daniel, How did you trigger the pinning? I'm running some basic tests with -Djdk.tracePinnedThreads=short and I'm not seeing any pinned threads reported. Mark On

Re: Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-25 Thread Mark Thomas
Daniel, How did you trigger the pinning? I'm running some basic tests with -Djdk.tracePinnedThreads=short and I'm not seeing any pinned threads reported. Mark On 07/07/2023 13:45, Daniel Andres Pelaez Lopez wrote: Mark, Thanks for letting me know. I will wait for the August release to

Re: Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-07 Thread Daniel Andres Pelaez Lopez
Mark, Thanks for letting me know. I will wait for the August release to test. Regards. El jue, 6 jul 2023 a las 15:13, Mark Thomas () escribió: > > > 6 Jul 2023 20:09:01 Daniel Andres Pelaez Lopez : > > > I am aware Tomcat community did a great effort to move Tomat to > > Virtual Threads

Re: Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-06 Thread Mark Thomas
6 Jul 2023 20:09:01 Daniel Andres Pelaez Lopez : I am aware Tomcat community did a great effort to move Tomat to Virtual Threads friendly, but I am not sure why HTTP2 was not part of that effort? The plan was always to see where the bottlenecks were as folks start to experiment with Loom

Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-06 Thread Daniel Andres Pelaez Lopez
Hi community, I am working on a Spring Boot + Tomcat embedded application using Virtual Threads (https://openjdk.org/jeps/425), and everything looks great until we activate HTTP2. We started to see the following logs: Thread[#72,ForkJoinPool-1-worker-9,5,CarrierThreads]

Re: No Logger information when maximum threads reached. Tomcat 8

2020-11-10 Thread Mark Thomas
This is the third time you have posted essentially the same query to this list. Please see the responses to your previous 2 posts. Mark On 10/11/2020 10:16, Aquib Khan wrote: > Hi, > >   > > We have a usecase where we want that our application should indicate > when it reaches maximum thread

No Logger information when maximum threads reached. Tomcat 8

2020-11-10 Thread Aquib Khan
Hi, We have a usecase where we want that our application should indicate when it reaches maximum thread limit. Our application is deployed in tomcat. Maximum thread limit of tomcat is 200, so If 200 threads are reached, does tomcat provide any logger information? We tried making multiple

Re: Excessive threads crashing tomcat

2014-10-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mitchell, On 10/21/14 8:08 PM, Smith, Mitchell wrote: Tomcat7 Java1.7_025 Thanks for adding the version numbers. How are you configuring Tomcat's thread pool? Either through one or more Connectors or with one or more Executors. Can you post the

Excessive threads crashing tomcat

2014-10-21 Thread Smith, Mitchell
Hi I have an issue where my applicaion servers have recently started failing with OOM - cannot create native thread errors. However the dump files all show he majority of threads (over 90%) like the following: pool-21088-thread-1 - Thread t@36407 java.lang.Thread.State: WAITING at

Re: Excessive threads crashing tomcat

2014-10-21 Thread Smith, Mitchell
Tomcat7 Java1.7_025 On 21 October 2014 20:06, Smith, Mitchell mitchell.sm...@cwc.com wrote: Hi I have an issue where my applicaion servers have recently started failing with OOM - cannot create native thread errors. However the dump files all show he majority of threads (over 90%) like the

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Danilo, On 4/1/14, 8:37 PM, Danilo Amaral de Oliveira wrote: Hello Chritopher, You make score. Exactly, I am waiting 500 users on the peak time. The archive is in a separated storage in our environment. So, I think that it is not a limiting

Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Danilo Amaral de Oliveira
Hello Tomcat Community, Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a stress test through JMeter, simulating a lot of simultaneous access, and when the simultaneous access reaches 100

Re: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Milo Hyson
On Apr 1, 2014, at 11:03 AM, Danilo Amaral de Oliveira danilo.olive...@energisa.com.br wrote: Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a stress test through JMeter, simulating a

RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Danilo Amaral de Oliveira
-feira, 1 de abril de 2014 15:52 Para: Tomcat Users List Assunto: Re: Configuring limits of requests/sessions/threads in Tomcat On Apr 1, 2014, at 11:03 AM, Danilo Amaral de Oliveira danilo.olive...@energisa.com.br wrote: Next week we will deploy a institutional video to all company (more than 5k

Re: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
Danilo Amaral de Oliveira wrote: Hello Tomcat Community, Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a stress test through JMeter, simulating a lot of simultaneous access, and when

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Milo Hyson
On Apr 1, 2014, at 12:00 PM, Danilo Amaral de Oliveira danilo.olive...@energisa.com.br wrote: The video is embedded in a JWPlayer Javascript application. The video is in the page too, but you need download it before watch it. Since users have to download the video, I'm guessing it isn't

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
Danilo Amaral de Oliveira wrote: Milo, The video is embedded in a JWPlayer Javascript application. The video is in the page too, but you need download it before watch it. Summarizing, here the simulating process of watching the video: User access the page | Tomcat serve the

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
André Warnier wrote: Danilo Amaral de Oliveira wrote: Milo, The video is embedded in a JWPlayer Javascript application. The video is in the page too, but you need download it before watch it. Summarizing, here the simulating process of watching the video: User access the page

Re: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Danilo, On 4/1/14, 2:03 PM, Danilo Amaral de Oliveira wrote: Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a stress test through JMeter,

RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Danilo Amaral de Oliveira
or copy its contents. Please notify sender and delete immediately. -Mensagem original- De: Christopher Schultz [mailto:ch...@christopherschultz.net] Enviada em: terça-feira, 1 de abril de 2014 18:32 Para: Tomcat Users List Assunto: Re: Configuring limits of requests/sessions/threads in Tomcat

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Frederik Nosi
/threads in Tomcat -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Danilo, On 4/1/14, 2:03 PM, Danilo Amaral de Oliveira wrote: Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a stress test

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Howard W. Smith, Jr.
On Tue, Apr 1, 2014 at 9:30 PM, Frederik Nosi frederik.n...@postecom.itwrote: If so, just put an nginx or such in front of you'r Tomcat, you dont need an application server for that, it's just like using a tank to shoot a mosquito :P Wow, LOL!

Re: How to get the number of live threads in Tomcat 6?

2012-10-30 Thread Ravi Joshi
Thanks Dan, I got it. Thank you for the answer. -Ravi --- On Mon, 29/10/12, Daniel Mikusa dmik...@vmware.com wrote: From: Daniel Mikusa dmik...@vmware.com Subject: Re: How to get the number of live threads in Tomcat 6? To: Tomcat Users List users@tomcat.apache.org Received: Monday, 29 October

Re: How to get the number of live threads in Tomcat 6?

2012-10-29 Thread Daniel Mikusa
updated? My aim is just to know the number of active threads in tomcat6. Is there any command/way to get the number of live threads in tomcat 6? My tomcat is running on RHEL6 64bit server. There are a few tools, the best choice depends on exactly what you are trying to do. 1.) You could

RE: Threads in Tomcat

2012-05-21 Thread Casper Wandahl Schmidt
). Med venlig hilsen/Kind regards Casper/Kalle -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: 18. maj 2012 21:54 To: Tomcat Users List Subject: Re: Threads in Tomcat On Fri, 2012-05-18 at 12:14 -0400, Vance - wrote: I'm maintaining a Web application for searching

Re: Threads in Tomcat

2012-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vance, On 5/18/12 12:29 PM, Vance - wrote: The servlet I have in mind for modification is the one responsible for performing the search as well as for getting the next page of search results. If one or more of the wikis is unavailable, I want to

Threads in Tomcat

2012-05-18 Thread Vance -
suggested the following questions to look into: · Does the spawned thread have a time limit imposed by Tomcat? · Does it take up worker thread space from other Tomcat threads? I'd appreciate any help anyone could give w.r.t. these questions.

Re: Threads in Tomcat

2012-05-18 Thread Christopher Schultz
into: · Does the spawned thread have a time limit imposed by Tomcat? No. · Does it take up worker thread space from other Tomcat threads? No. Your thread will take up RAM and CPU time of course. Also, processes have thread limits and your thread will count against that. - -chris

Re: Threads in Tomcat

2012-05-18 Thread Vance -
into: · Does the spawned thread have a time limit imposed by Tomcat? No. · Does it take up worker thread space from other Tomcat threads? No. Your thread will take up RAM and CPU time of course. Also, processes have thread limits and your thread will count against that. - -chris

Re: Threads in Tomcat

2012-05-18 Thread Tim Watts
other Tomcat threads? I believe the simple answer to these is No. Which is to say I don't believe Tomcat per se enforces such limits. However, it may be possible that an active SecurityManager could impose them. Would be unusual though -- especially the 1st question. I'd appreciate any help

how can I figure out if tomcat is blocking and needs more threads? production tomcat monitoring tips.

2011-12-28 Thread S Ahmed
While benchmarking, I want to know if/when tomcat requires more threads (maxThreads). How can I figure this out? i.e. I start benchmarking tomcat to see how it reacts to a high-traffic spike, I want to make sure that tomcat isn't hitting the maxThreads when my server has the ability resource

Re: how can I figure out if tomcat is blocking and needs more threads? production tomcat monitoring tips.

2011-12-28 Thread Mark Thomas
On 28/12/2011 22:27, S Ahmed wrote: While benchmarking, I want to know if/when tomcat requires more threads (maxThreads). How can I figure this out? Look in the logs. Tomcat reports the first time (and only the first time) it hits maxThreads. Mark

Blocked threads in Tomcat web app

2009-07-13 Thread Raphael Neve
: http://www.nabble.com/Blocked-threads-in-Tomcat-web-app-tp24457682p24457682.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 10:12, Raphael Neve wrote: Hello all, I have a problem with a web application using Tomcat 5.5.27 under Fedora Linux and database Firebird 2.1. The application runs fine for a day or so, then I begin getting blocked threads. Eventually, the heap space runs out and the

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Raphael Neve
/p24458247/thread%2Bdump.txt thread+dump.txt -- View this message in context: http://www.nabble.com/Blocked-threads-in-Tomcat-web-app-tp24457682p24458247.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 11:05, Raphael Neve wrote: Rainer Jung-3 wrote: TP-Processor16 owns lock at 0x73a71c40 and thus blocks TP12, TP5 and TP1. TP16 and TP2 both wait for lock 0x73a71dd0. The thread holding this lock is not in your dump. Since the lock is of type

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Raphael Neve
. Is that wrong ? I suppose I should not rely on the finalizer for this task ? But then what is the best way to handle this ? How can I put in place a mecanism to securize my application in this area ? Thanks for you insights, Raphael -- View this message in context: http://www.nabble.com/Blocked-threads

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 11:31, Raphael Neve wrote: Rainer Jung-3 wrote: [...] Yup, and the code run by the finalizer makes a network call (likely to the database), which seems to be a very bad pattern. Finalizers are not a great idea by themselves, but one needs to keep them as simple as possible.

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Raphael Neve
. Thanks a lot for your help, I'm going to read up about that ! Raphael -- View this message in context: http://www.nabble.com/Blocked-threads-in-Tomcat-web-app-tp24457682p24461413.html Sent from the Tomcat - User mailing list archive at Nabble.com

hanging threads on Tomcat

2009-03-11 Thread Patrick Plaatje
Hi all, on one of our websites we have a problem with threads keep hanging in Tomcat. We first noticed this 1.5 week ago and tried several things to find a solution. At that moment we were using java 1.4 and Tomcat 5.0. The symptoms were there after three hours of operation, about 250

Re: hanging threads on Tomcat

2009-03-11 Thread Mark Thomas
Patrick Plaatje wrote: Hi all, on one of our websites we have a problem with threads keep hanging in Tomcat. We first noticed this 1.5 week ago and tried several things to find a solution. At that moment we were using java 1.4 and Tomcat 5.0. The symptoms were there after three hours of

Re: hanging threads on Tomcat

2009-03-11 Thread Patrick Plaatje
Thanks for the swift replies, i have two dump, appr a few seconds apart uploaded to: http://www.ipros.nl/uploads/catalina_stripped_1.out http://www.ipros.nl/uploads/catalina_stripped_2.out Thanx, Patrick Mark Thomas schreef: Patrick Plaatje wrote: Hi all, on one of our websites we

RE: hanging threads on Tomcat

2009-03-11 Thread Caldarale, Charles R
From: Patrick Plaatje [mailto:patr...@ipros.nl] Subject: hanging threads on Tomcat - 309 threads overall - Threads waiting for monitors: 57 - Threads sleeping on monitors: 191 - Threads locking monitors: 225 - Monitors: 225 - Monitors without locking threads: 3 Haven't looked at your

RE: hanging threads on Tomcat

2009-03-11 Thread Caldarale, Charles R
From: Patrick Plaatje [mailto:patr...@ipros.nl] Subject: Re: hanging threads on Tomcat Thanks for the swift replies, i have two dump, appr a few seconds apart uploaded to: You appear to be out of database connections. This is almost always caused by webapp code not disposing of result

Re: hanging threads on Tomcat

2009-03-11 Thread Oliver Schoett
Patrick Plaatje wrote: Thanks for the swift replies, i have two dump, appr a few seconds apart uploaded to: http://www.ipros.nl/uploads/catalina_stripped_1.out http://www.ipros.nl/uploads/catalina_stripped_2.out Many threads appear to be waiting on the same instance of

Re: Blocked threads in tomcat

2008-11-01 Thread Mohit Anchlia
On Fri, Oct 31, 2008 at 5:52 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: emerson cargnin [mailto:[EMAIL PROTECTED] Subject: Blocked threads in tomcat Below is the JConsole result, you can see that there are a lot of blocked threads on there. Stack trace: java.lang.Object.wait

RE: Blocked threads in tomcat

2008-10-31 Thread Caldarale, Charles R
From: emerson cargnin [mailto:[EMAIL PROTECTED] Subject: Blocked threads in tomcat Below is the JConsole result, you can see that there are a lot of blocked threads on there. Stack trace: java.lang.Object.wait(Native Method) org.apache.commons.httpclient.MultiThreadedHttpConnectionManag

Re: number of worker threads in Tomcat 6

2008-09-14 Thread André Warnier
Madhav wrote: Hi, I want to know the values of maxThreads, minSpareThreads parameters as well as the number of 'available' worker threads inside a servlet in Tomcat 6. I tried googling with -- find worker threads in Tomcat-- and similar phrases but was not able to get the above info. Could

Re: number of worker threads in Tomcat 6

2008-09-14 Thread Madhav
, André Warnier [EMAIL PROTECTED] wrote: Madhav wrote: Hi, I want to know the values of maxThreads, minSpareThreads parameters as well as the number of 'available' worker threads inside a servlet in Tomcat 6. I tried googling with -- find worker threads in Tomcat-- and similar phrases

Re: number of worker threads in Tomcat 6

2008-09-14 Thread André Warnier
Madhav wrote: Hi André, Thanks for the reply, but the link is about configuring Tomcat which I know. What I'm looking for is how to get these information inside servlet, i.e. in java code. Please let me know that or point me to any resource if you know that. I don't really know. But I can

Re: number of worker threads in Tomcat 6

2008-09-14 Thread Mark Thomas
André Warnier wrote: Madhav wrote: Hi André, Thanks for the reply, but the link is about configuring Tomcat which I know. What I'm looking for is how to get these information inside servlet, i.e. in java code. Please let me know that or point me to any resource if you know that. I

number of worker threads in Tomcat 6

2008-09-13 Thread Madhav
Hi, I want to know the values of maxThreads, minSpareThreads parameters as well as the number of 'available' worker threads inside a servlet in Tomcat 6. I tried googling with -- find worker threads in Tomcat-- and similar phrases but was not able to get the above info. Could anyone help me

Re: Status of threads in Tomcat( window service)

2008-08-02 Thread Bill Barker
The latest version of the service manager (aka tomcatNw.exe) has the ability to generate a thread dump for Tomcat running as a service. If this isn't an option in the menu on your version, you can upgrade just this component by grabbing tomcat6.exe and tomcat6w.exe from the most recent 6.0

Re: Status of threads in Tomcat( window service)

2008-08-01 Thread Johnny Kewl
- Original Message - From: Thangavel Sankaranarayanan [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, August 01, 2008 4:05 PM Subject: Status of threads in Tomcat( window service) Hi, Please help me in find no of threads and thier status spawned by tomcat connector

RE: Status of threads in Tomcat( window service)

2008-08-01 Thread Peter Crowther
From: Johnny Kewl [mailto:[EMAIL PROTECTED] From: Thangavel Sankaranarayanan [EMAIL PROTECTED] i am using tomcat as a window service ..so i couldn't create a thread dump... http://localhost:8080/manager/status will give you some info on thread usage This assumes the OP has the manager

Re: Blocking threads in Tomcat

2008-07-01 Thread Leon Rosenberg
Hello Frederic, unless you are using the SingleThreaded Model (and you shouldn't) tomcat does no such thing. I assume the best way is to show us your servlet code, or to check for synchronized blocks in it. regards Leon On Tue, Jul 1, 2008 at 6:11 AM, Fredrik Tolf [EMAIL PROTECTED] wrote: Hi

RE: Blocking threads in Tomcat

2008-07-01 Thread Peter Crowther
:[EMAIL PROTECTED] Sent: 01 July 2008 05:11 To: Tomcat Users List Subject: Blocking threads in Tomcat Hi list! I've had some issues with requests not being carried out in parallel by Tomcat. My problem is that I haven't been able to figure out when a worker thread blocks and when it does

RE: Blocking threads in Tomcat

2008-07-01 Thread Steffen Heil
, 2008 6:11 AM To: Tomcat Users List Subject: Blocking threads in Tomcat Hi list! I've had some issues with requests not being carried out in parallel by Tomcat. My problem is that I haven't been able to figure out when a worker thread blocks and when it does not. To try and pin down

Re: Blocking threads in Tomcat

2008-07-01 Thread Fredrik Tolf
On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote: Hello Frederic, unless you are using the SingleThreaded Model (and you shouldn't) tomcat does no such thing. There's no way I could be doing any such thing unknowingly, such as it being the default, right? I assume the best way is to

Re: Blocking threads in Tomcat

2008-07-01 Thread Leon Rosenberg
interesting, can you provide your webapp + configs for download and test? Leon On Tue, Jul 1, 2008 at 3:16 PM, Fredrik Tolf [EMAIL PROTECTED] wrote: On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote: Hello Frederic, unless you are using the SingleThreaded Model (and you shouldn't)

RE: Blocking threads in Tomcat

2008-07-01 Thread Caldarale, Charles R
From: Fredrik Tolf [mailto:[EMAIL PROTECTED] Subject: Re: Blocking threads in Tomcat There's no way I could be doing any such thing unknowingly, such as it being the default, right? No, single-thread is not the default. When, on the other hand, I'm running two requests to /ls

Re: Blocking threads in Tomcat

2008-07-01 Thread Mikolaj Rydzewski
Fredrik Tolf wrote: When, on the other hand, I'm running two requests to /ls simultaneously, What tool do you use to perform requests? Regular web browser? Try with something more 'generic' - wget or ab. -- Mikolaj Rydzewski [EMAIL PROTECTED]

RE: Blocking threads in Tomcat

2008-07-01 Thread Fredrik Tolf
On Tue, 2008-07-01 at 09:16 -0500, Caldarale, Charles R wrote: When, on the other hand, I'm running two requests to /ls simultaneously, there is only one thread from the pool in the doGet function. Any chance the client (or some overly helpful anti-DOS firewall) is serializing requests

Blocking threads in Tomcat

2008-06-30 Thread Fredrik Tolf
Hi list! I've had some issues with requests not being carried out in parallel by Tomcat. My problem is that I haven't been able to figure out when a worker thread blocks and when it does not. To try and pin down the behavior, I did a little experiment. I took a servlet that I had, that handles

Re: Threads in tomcat application.

2007-09-02 Thread Juha Laiho
Manivannan Palanichamy wrote: I need to design a web application that may use threads. Thats, the web application might have to read some 200 files from network. In order to speed up the process, I've decided to use threads/thread pooling. But, however I know it is not a good practice to use

Threads in tomcat application.

2007-08-31 Thread Manivannan Palanichamy
Hi I need to design a web application that may use threads. Thats, the web application might have to read some 200 files from network. In order to speed up the process, I've decided to use threads/thread pooling. But, however I know it is not a good practice to use threads in a web/server

how to stop user app daemon threads in tomcat webapps?

2005-11-06 Thread Augmentin
Hi, I found that the daemon threads created by my Tomcat webapp won't automatically stop when the webapp itself is stopped or undeployed/redeployed. As Tomcat itself is a java application there will always be user threads in the jvm even when your webapp is stopped.. which makes the daemon

Re: how to stop user app daemon threads in tomcat webapps?

2005-11-06 Thread Darek Czarkowski
On Mon, 7 Nov 2005 11:36:16 +0800 Augmentin [EMAIL PROTECTED] wrote: Hi, I found that the daemon threads created by my Tomcat webapp won't automatically stop when the webapp itself is stopped or undeployed/redeployed. As Tomcat itself is a java application there will always be user threads in