tomcat-users mailing list archives

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

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:


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


Kind regards
James McIntosh

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message