Hi all

A use JBoss 3.2.3(include Tomcat 4.1.29).
By default Tomcat web container uses one instance of servlet per many requests. I 
can't use SingleThreadModel for my servlets because It does not approach for my 
problem.

In Servlet Specification Version 2.4  I have found:
SRV.2.2
...
For a servlet not hosted in a distributed environment (the default), the servlet 
container must use only one instance per servlet declaration.
...
In the case where a servlet was deployed as part of an application marked in the 
deployment descriptor as distributable, a container may have only one instance per 
servlet declaration per Java Virtual Machine (JVM TM). (MY CASE)
...

Question:
Whether is it possible to force JBoss(Tomcat web container) to use new instance of 
servlet for each http request. (for each new http request create new servlet instance)?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823385#3823385

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823385


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to