Log4j loads "log4j.properties" from the classpath of the classloader that
loaded itself(log4j classes). In your case, log4j is loaded by tomcat
classloader, since it is present in $TOMCAT_HOME/lib. Classes and files
under WEB-INF/classes are not visible to that classloader, hence the
problem.
Reg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oren,
Oren Livne wrote:
> 1. I tried to set up some useful libraries in directories outside
> $tomcat_home/lib but they were not recognized.
This isn't surprising. Tomcat expects to have full control over its own
classpath. You're better-off putting