sjsas9 support files - patch for log4j

View: New views
1 Messages — Rating Filter:   Alert me  

sjsas9 support files - patch for log4j

by Jeremy Lal-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

log4j does not work "out of the box" with glassfish v2 (sjsas9), i got these messages :

log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable.
log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator]
log4j:WARN No appenders could be found for logger (com.blandware.atleap.webapp.listener.StartupListener).
log4j:WARN Please initialize the log4j system properly.

A workaround is to configure log4j domain-wide, but that's not "out of the box"-ish


A solution is to correct this in
metadata/conf/sjsas9/sun-web.xml

<class-loader delegate="true"/>


I guess the problem would be the same with sjsas8...


Jérémy LAL


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...