tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: Question: does Tomcat4 manage jsp/servlet threads?
Date Mon, 01 Apr 2002 16:53:12 GMT

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

> Date: Mon, 1 Apr 2002 00:15:36 -0800 (PST)
> From: Hugh J. L. <>
> Reply-To: Tomcat Developers List <>
> To: Tomcat Developers List <>
> 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

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

> 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


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message