Howdy,

>> To start with:
>> - Where is the properties file? Currently, in the servlet's
WEB-INF/lib
>> (though it's a log4j.xml rather than a properties file)
>
>Try putting it in WEB-INF/classes.  I think Tomcat only adds *jar*
files in
>WEB-INF/lib to the classpath.

This is true.  But you can still do:

URL propsFileURL =
getServletContext().getResource("/WEB-INF/lib/log4j.prop");
PropertyConfigurator.configure(propsFileURL);
...

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to