Hi, I'd say the proof is in the CVS, not the JavaDoc: http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4 j/LogManager.java. The method has been there since the first log4j 1.2 alpha tags, 2.5 years ago. So Jacob's right ;)
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Jacob Kjome [mailto:[EMAIL PROTECTED] >Sent: Thursday, March 18, 2004 12:31 AM >To: Tomcat Users List >Subject: Re: WebappClassLoader: Lifecycle error : CL stopped > >At 10:38 PM 3/17/2004 +0000, you wrote: > >>Hi, >> >> Thank you for that, and excuse my delay in responding. I tried what >> you suggested, but found the LogManager class did not contain such a >> method. It did have one method to speak of - getLogManager() which >> returns an instance of LogManager, but that also has no shutdown method. >> I found reset(): >> >>LogManager.getLogManager().reset(); >> >>I am using JDK 1.4.2_03. How might I sort this hassle out please? It seems >>to be happening very infrequently, but is definately a show stopper! >> >>thanks > >Hmm... Take another look at LogManager's source code. I absolutely, 100% >guarantee that LogManager.shutdown() exists. You are using Log4j-1.2.8, >right? I know it exists there and I think it has been around for a while >anyway (but can't be sure). Anyway, the proof is in the Javadoc.... > >http://logging.apache.org/log4j/docs/api/org/apache/log4j/LogManager.ht ml#s >hutdown() > >Jake > > > >>G. >> >> >>This has to do with Log4j. Make sure you set up a servlet context listener >>and do LogManager.shutdown() in the contextDestroyed() method. This will >>take care of your troubles. >> >>Jake >> >>At 02:13 AM 3/16/2004 +0000, you wrote: >> >> >Hello all, >> > >> > Can anyone shed some light on the above error please? On the web, I >> > saw it often associated with NoClassDefFoundError, and something called >> > DOMConfigurator. >> > >> > May app does indeed parse XML (JDom and Nano XML). Is this message >> > linked to an error possibly residing in my XML parsing? >> > >> > I also see that it is associated with the stop() method on the >> > WebappClassLoader'. But I am not calling such a method. >> > >> >Any info appreciated >> > >> >G. >> > >> > >> > >> > >> >--------------------------------- >> > Yahoo! Messenger - Communicate instantly..."Ping" your friends today! >> > Download Messenger Now >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >>--------------------------------- >> Yahoo! Messenger - Communicate instantly..."Ping" your friends today! >> Download Messenger Now > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
