0 Replies Latest reply on Dec 7, 2011 5:01 AM by Michal Jakobczyk

    AS7: thread count limit for servlet service() processing

    Michal Jakobczyk Newbie


      Java Servlet 3.0 specification says:


      Generally the Web container handles concurrent requests to the same servlet by concurrent execution of the  service  method on different threads.


      I would like to specify my custom thread count available for servlet service() processing.


      What I want: http://docs.oracle.com/cd/E18930_01/html/821-2431/abehk.html#abefn

      How it can be done in GlassFish3.1: http://docs.oracle.com/cd/E18930_01/html/821-2416/ablud.html#scrolltoc


      I guess it should be done in the web subsystem, however, the AS7 documentation does not describe any "thread policies" in the web subsystem: https://docs.jboss.org/author/display/AS7/Subsystem+configuration


      Where (in standalone.xml ?) and how to specify my own thread count limit for servlet service() processing?