ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Understanding Classloaders: log4j in a J2EE Environment
Subject:   configuration file?
Date:   2003-09-08 02:45:42
From:   anonymous2
Response to: configuration file?

You have 2 options:


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.