hello all,

I use log4j from servlets as well as jsp and just yesterday I encountered some
very annoying problem. If I replace my servlet jar without restarting servlet engine
(resin in this case) log4j prints the following errors and refuses to work:

log4j:WARN Failed to set property [conversionPattern] to value "%d [%p] - %m%n". 
object is not an instance of declaring class
log4j:WARN Failed to set property [file] to value "/home/jzox/log/generator.log". 
object is not an instance of declaring class
log4j:WARN Failed to set property [maxFileSize] to value "100KB". object is not an 
instance of declaring class
log4j:WARN Failed to set property [maxBackupIndex] to value "20". object is not an 
instance of declaring class
log4j:WARN File option not set for appender [R].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
log4j:ERROR No output stream or file set for the appender named [S].

I believe this because classloader loads new classes which don't match the old ones.
anyway it would be nice to have some workaround or fix for it.
thanks!

-- 
Dmitry Skavish
-----------------------
Boston, MA, USA
tel. +1 781 370-6909
http://www.flashgap.com


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

Reply via email to