One alternative is create one ContextListener and initialize de Log4j engine
with BasicConfigurator.configure();
This warning disappears.
Regards.
2009/8/7 Eve Pokua <gorgeous65_at_msn.com>
> Hi,
>
> You should still be able to run your application around this error.
>
> I get the same error.
>
>
> eve
>
> > Date: Fri, 7 Aug 2009 12:43:48 -0700
> > From: glassfish_at_javadesktop.org
> > To: users_at_glassfish.dev.java.net
> > Subject: Log4J
>
> >
> > I am trying to use Log4J on GlassFish.
> >
> > I put ais_log4j.properties under src directory and WEB-INF.
> >
> > However when I deployed the .ear file, I got the error message:
> >
> > log4j:WARN No appenders could be found for logger
> (org.apache.struts.util.PropertyMessageResources).
> >
> > log4j:WARN Please initialize the log4j system properly.
> >
> > Can anyone help on that?
> >
> > Thank you very much!
> > [Message sent by forum member 'henryliu' (henryliu)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=359490
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
>
> ------------------------------
> Windows Live Messenger: Happy 10-Year Anniversary—get free winks and
> emoticons. Get Them Now <http://clk.atdmt.com/UKM/go/157562755/direct/01/>
>
--
[]'s,
Ronaldo Rigoni
http://www.ronaldorigoni.com.br
Desenvolvedor JEE
Ministério da Educação - CESPE