No, each request is run in its own, separate thread. The reason
that you are probably seeing this pool allocated multiple times is that you
have multiple instances of the same servlet. Why has Tomcat created
multiple instances of the same servlet, you ask? Well, Tomcat will create
an instance of the servlet for each unique URL that the servlet answers to
(mappings in the web.xml file and the /servlets/className).
Randy
> -----Original Message-----
> From: Dave Finch [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 15, 2001 2:19 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat Threads
>
>
> I have tomcat 3.2 running on NT 4 (SP6a) through IIS.
> I have multiple websites each with it's IP address and domain
> names running
> in their own context in separate directories
> everything is working fine but I have a static connection
> pool which is
> being initialized several times.
>
> my question is, does tomcat run each context in a separate thread?
> this would explain why the connections are not being shared
> across contexts
>
> TIA,
>
> Dave Finch
>