Re: NDC , Servlets and thread safety

2002-11-06 Thread Ceki Gülcü
At 16:23 06.11.2002 +, you wrote: Hi, This may have been asked before but I cant find it in the archives. I am trying to use the log4j NDC class to log and distinguish between multiple client requests coming into a single servlet instance (we are using the frontcontroller pattern). We issue

Re: NDC , Servlets and thread safety

2002-11-06 Thread Fergus Gallagher
This is not the case. There is typically a single *instance* of your servlet, but is called simultaneously by different threads in the container. With SingleThreadModel, each instance (maybe only one) is called by only one thread at any one time. On Wed, Nov 06, 2002 at 04:23:52PM +,

RE: NDC , Servlets and thread safety

2002-11-06 Thread Ebersole, Steven
in your code. HTH |-Original Message- |From: Ceki Gülcü [mailto:ceki;qos.ch] |Sent: Wednesday, November 06, 2002 10:36 AM |To: Log4J Users List |Subject: Re: NDC , Servlets and thread safety | | |At 16:23 06.11.2002 +, you wrote: | |Hi