Re: Question: does Tomcat4 manage jsp/servlet threads?

2002-04-01 Thread Craig R. McClanahan



On Mon, 1 Apr 2002, Hugh J. L. wrote:

 Date: Mon, 1 Apr 2002 00:15:36 -0800 (PST)
 From: Hugh J. L. [EMAIL PROTECTED]
 Reply-To: Tomcat Developers List [EMAIL PROTECTED]
 To: Tomcat Developers List [EMAIL PROTECTED]
 Subject: Question: does Tomcat4 manage jsp/servlet threads?

 Hi, everyone,

 I need some help on Tomcat 4 architecture. Does Tomcat
 4 manage jsp/servlet threads? For example, can it
 report condition of those threads, stop dead thread
 and release resource, etc? And, does it use thread
 pool?


In the 4.0.x releases, there is an
org.apache.catalina.connector.http.HttpProcessor instance for each request
processing thread.  Requests are handed off by the HttpConnector instance
which does the socket accept calls.  The number of request processing
threads is managed by the minProcessors and maxProcessors configuration
properties.

The processor threads are recycled, so that's sort of a thread pool
(although the threads themselves are not stored in a separate thread
pool).

 Thanks. I have to know this before I have time to read
 its source code. :-(


That's too bad, because that is where all the answers are.  Check the
classes in the org.apache.catalina.connector.http package.

 Regards,
 Hugh


Craig


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Question: does Tomcat4 manage jsp/servlet threads?

2002-03-31 Thread Hugh J. L.

Hi, everyone,

I need some help on Tomcat 4 architecture. Does Tomcat
4 manage jsp/servlet threads? For example, can it
report condition of those threads, stop dead thread
and release resource, etc? And, does it use thread
pool?

Thanks. I have to know this before I have time to read
its source code. :-(

Regards,
Hugh


__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]