I'm using Tomcat 4.0 and have a servlet that implements SingleThreadModel.
In every other app server I've tried (WebSphere & WebLogic) multiple
instances of this servlet are created and handle concurrent requests.

However, in Tomcat it only creates one instance of the servlet and other
users must wait to be processed. i.e. only 1 user at a time is served.

I know that, strictly speaking, this does satisfy the Servlet spec, but I'm
suprised that Tomcat 4.0 would have chosen to handle SingleTheadModel in
this way - or is there a configuration option that I'm not setting
somewhere?

to re-word:
When I start my servlet I would expect to see somthing like this pronted by
my servlet's init() method:

Servlet instance #1 started
Servlet instance #2 started
Servlet instance #3 started
Servlet instance #4 started
Servlet instance #5 started

And it would go up to handle multiple concurrent requests as requied -
maintaining its own servlet pool.

Instead, I currently only see:
Servlet instance #1 started

And that's it.
How do I change this?
As always, thanks for any help.

Reply via email to