Understanding Classloaders: log4j in a J2EE Environment
Subject:   What about different JVMs
Date:   2004-03-06 13:49:29
From:   hminocha
Hi Vikram,

I am just evaluating use log4j for our J2EE applications.
Your article discusses, how to overcome problems if the WEB and EJB are in different classloaders.
But an app server may also have the web container and ejb container in different JVMs.
Then the initialization, you do in the servlet is not reflected in the EJB container. Any tips on how to initialize log4j in a EJB container (and also be somehow use configureAndWatch(), since EJB specs prohibit starting your threads).