users@glassfish.java.net

Re: Start -> Deploy -> Run -> Restart = Break

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 23 Jul 2009 19:42:55 +0530

Sounds like a bug to me. log4j bundled in war should not affect class
loading in a server module. File a bug please.

Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> yes. although i don't want to, i'd prefer to put the libs in a global dir so they are available for all apps. Which one would that be?
>
> now i deleted them from:
> glassfish/glassfish/domains/domain1/applications/infocenter/WEB-INF/lib
> and
> pasted the wicket.jar and slf4j.jar into /opt/glassfish/glassfish/domains/domain1/lib
>
> now the server comes up. calling my app throws java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
>
> but adding the log4j.jar make the server not come up again....
> [Message sent by forum member 'bjoerntietjens' (bjoerntietjens)]
>
> http://forums.java.net/jive/thread.jspa?messageID=357191
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>