RE: limit threads per servlet in Tomcat (to Simon.Kitching)

2000-12-10 Thread J Y
[EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: limit threads per servlet in Tomcat Date: Fri, 8 Dec 2000 17:19:28 +0100 Hi Jay, Why would you want to do this? As far as I can see, having one object with 21 threads is *more* efficie

Re: limit threads per servlet in Tomcat

2000-12-08 Thread Clifford . Okoro
Oh yes there is a way to set it. In the server.xml file. Like this Connector className="org.apache.tomcat.service.PoolTcpConnector" Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/ Parameter name="port" value="8007"/

RE: limit threads per servlet in Tomcat

2000-12-08 Thread Kitching Simon
Hi Jay, Why would you want to do this? As far as I can see, having one object with 21 threads is *more* efficient than 21 threads distributed across two objects. If you have some kind of lock contention, then using two objects is not going to improve this; by definition, a lock is only

RE: limit threads per servlet in Tomcat

2000-12-08 Thread Kitching Simon
2000 5:18 PM To: [EMAIL PROTECTED] Subject: Re: limit threads per servlet in Tomcat Oh yes there is a way to set it. In the server.xml file. Like this Connector className="org.apache.tomcat.service.PoolTcpConnector" Parameter n

Re: limit threads per servlet in Tomcat

2000-12-08 Thread Craig R. McClanahan
J Y wrote: Hi I wish to setup Tomcat to limit threads per servlet, say 20 threads to execute in one servlet concurrently. the 21th request would cause the Tomecat engine to generate a new servlet instance. There is no way to do this in Tomcat. On the other hand, doing this would not help