On Wed, 28 Aug 2002, Nikola Milutinovic wrote:
>
> Is there some kind of "retirement" of threads? You know, to prevent memory
> leaks, so that each thread has a maximum number of times it can be reused.
>
There is no such mechanism currently -- but I don't see how putting this
kind of logic in
Craig R. McClanahan wrote:
>
>>This is true in a very particular situation. Basically, a servlet
>>container will instantiate ONE servlet class into an object. Each
>>request is handled via it's own separate thread. Unless Servlet
>>implements SingleThreadModel, all threads that are directed to
On Wed, 28 Aug 2002, Nikola Milutinovic wrote:
> Date: Wed, 28 Aug 2002 07:15:57 +0200
> From: Nikola Milutinovic <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Threads Question i
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: "Nikola Miluti
Subject: Re: Threads Question in Tomcat
From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com))
===
Subject: Re: Threads Question in Tomcat
From: "Nikola Milutinovic" <[EMAIL PROTECTED]>
===
Pj4xLiBJcyBpdCB0cnVlIHRoYXQgcmVxdWVzdHMgZnJvbSB0aGUgU0FNRSBj
Subject: Re: Threads Question in Tomcat
From: "Nikola Milutinovic" <[EMAIL PROTECTED]>
===
Pj4xLiBJcyBpdCB0cnVlIHRoYXQgcmVxdWVzdHMgZnJvbSB0aGUgU0FNRSBjbGllbnQNCj4+YWx3
YXlzIHNlcnZlZCBieSB0aGUgU0FNRSB0aHJlYWQ/DQo+DQo+Tm90IGFsd2F5
>>1. Is it true that requests from the SAME client
>>always served by the SAME thread?
>
>Not always. Even if a servlet implements SingleThreadModel, the
>container may still keep a pool of instances of this servlet and issue
>requests as they come in, as long as no two requests share an ins
On Tue, 27 Aug 2002, Takumi Fujiwara wrote:
> Date: Tue, 27 Aug 2002 09:13:55 -0700 (PDT)
> From: Takumi Fujiwara <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Threads Question in Tomcat
>
> Hi,
>
Hi,
Keep in mind that tomcat is a reference implementation of the servlet
spec. I don't remember the servlet spec answering these questions, so
tomcat isn't obliged to implement things any one way.
>1. Is it true that requests from the SAME client
>always served by the SAME thread?
Not always.
Hi,
I have a few questions regarding Threads in Tomcat. I
appreciate if anyone can help me on these:
1. Is it true that requests from the SAME client
always served by the SAME thread?
2. What if the SAME client access 2 different servlets
in a servlet container? Is it still served by the SAME
th
13 matches
Mail list logo