1. put it in web-inf/classes, if only web components use log4j 2. put it in .ear root if web and ejbs use it. in this case, classpath entry in manifest files of web and ejb jar has to point to your properties file.