tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James McIntosh <ja...@snaphire.com>
Subject Maximum single threaded moldel servlets
Date Thu, 22 Feb 2007 02:31:45 GMT
Hi,

I am trying to find out how to limit the number of Single Threaded Model
servlets which get created by the StandardWrapper.

I have looked at the API and there is a setMaxInstances(int) method but
I cannot find anywhere in the config xml files to change it.
I did find the "wrapperClass" attribute for the <Context> element which
allows you to override StandardWrapper with another class which I could
call the setMaxInstances from.

Is there a more elegant way such as:

<web-app>

<servlet>
  <servlet-name />
  <servlet-class />
  <servlet-max-stm-instances />
</servlet>

</web-app>

Kind regards
James McIntosh


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message