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.
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.