You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Benary Klaus <Kl...@GEHE.DE> on 2002/05/08 16:13:51 UTC

MDC and EJBs

I like the idea of MDC very much. But, can I use it in an J2EE environment
where the logging activity is passed around between multiple EJBs? As I read
the
spec, it is entirely up to the the EJB container to use one of its pooled
threads
to execute EJBs. Whenever I test it, it works fine: Any subsquent call to
another
EJB is performed in the same thread, and so the MDC forms a valid context.
But I think this is only by chance and it could fail.
Does anyone know more about this?

Tanks
Klaus 

------------------------
Klaus Benary
GEHIS GmbH Berlin
Klaus.Benary@GEHE.de

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>