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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to