Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 43947 invoked from network); 19 Mar 2003 18:29:45 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 19 Mar 2003 18:29:45 -0000 Received: (qmail 17602 invoked by uid 97); 19 Mar 2003 18:31:31 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 17595 invoked from network); 19 Mar 2003 18:31:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 19 Mar 2003 18:31:31 -0000 Received: (qmail 43134 invoked by uid 500); 19 Mar 2003 18:29:33 -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 43116 invoked from network); 19 Mar 2003 18:29:32 -0000 Received: from scooby.wilshire.com (209.0.86.63) by daedalus.apache.org with SMTP; 19 Mar 2003 18:29:32 -0000 Received: from bbarkerxp (host102-236.wilshire.com [192.168.102.236]) by scooby.wilshire.com (8.12.6/8.11.4) with SMTP id h2JITWsp009186 for ; Wed, 19 Mar 2003 10:29:33 -0800 (PST) Message-ID: <004a01c2ee45$abcba7c0$ec66a8c0@bbarkerxp> From: "Bill Barker" To: "Tomcat Developers List" References: <3E77A6EB.DE018A4@arobs.com> <3E78741A.3080500@apache.org> Subject: Re: SingleThreadModel and multiple servlet instance Date: Wed, 19 Mar 2003 10:30:51 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Archived: msg.XXpizGRy@scooby X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Remy Maucherat" To: "Tomcat Developers List" Sent: Wednesday, March 19, 2003 5:43 AM Subject: Re: SingleThreadModel and multiple servlet instance > Razvan Dani wrote: > > Hi > > > > I recently noticed that some of my servlets have a strange behaviour > > when concurential requests are made to them (mainly becase there are > > some variables defined in those servlets). > > > > I also recently found that by using "implements SingleThreadModel" i > > avoid this problem (pretty much by synchronizing the doGet and doPost). > > But this raises to me the problem that i won't be able to serve more > > request from that servlet at (almost) the same time. The second request > > will wait for the first one to completelly finish ... > > > > Due to this, i'd like to combine "implements SingleThreadModel" with the > > ability to somehow have multiple servlet instances, instead of just one. > > > > By surfing the Interned i was driven to the conclusion that some servlet > > engines have some configurations available in order to specify the max > > number of instances for a single servlet class. > > > > My question is if there is any version of Tomcat that have such a > > feature available or not. If not, a simple answer saying so would be > > good enough for me. If yes, i would apreciate a lot any guidelines that > > you could have to drive me to the right direction. > > All Tomcat 4.1.x releases have that. > As does Tomcat 3.3.1. > Remy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org