Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 92372 invoked from network); 1 Apr 2002 16:53:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Apr 2002 16:53:20 -0000 Received: (qmail 21615 invoked by uid 97); 1 Apr 2002 16:53:17 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 21599 invoked by uid 97); 1 Apr 2002 16:53:17 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 21583 invoked from network); 1 Apr 2002 16:53:16 -0000 Date: Mon, 1 Apr 2002 08:53:12 -0800 (PST) From: "Craig R. McClanahan" To: Tomcat Developers List Subject: Re: Question: does Tomcat4 manage jsp/servlet threads? In-Reply-To: <20020401081536.67715.qmail@web12208.mail.yahoo.com> Message-ID: <20020401085009.J96552-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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: For additional commands, e-mail: