hemant wrote:
> The Log4J configuration loaded property when I used Struts 1.0.2. If it
> worked then, shouldn't it work now with struts 1.1beta?
It worked with 1.0.2, but Struts did not use the commons-logging package
then, so the log messages weren't printed through Log4j, which is the
case now.
It seems that you initialize the log4j configuration after the Struts'
ActionServlet loads, so when the ActionServlet (and the Digester, and
Beanutils, etc) try to log and log4j is not yet configured, you get that
error.
I have a servlet that loads some configuration for my application. I've
set it up so that it loads before the Struts' ActionServlet, so that the
log4j system is properly initialized when called. Try do do something
similar.
--
[]'s
Marcelo Vanzin
Touch Tecnologia
[EMAIL PROTECTED]
"Life is too short to drink cheap beer"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>