Hi Ceki, Is there any other way, we can dynamically reload the properties file in a J2EE app, Also can I know the release plan of Log4J for JMX compliance for a clustered environment .
Regards.. ----- Original Message ----- From: "Ceki G�lc�" <[EMAIL PROTECTED]> To: "Log4J Users List" <[EMAIL PROTECTED]> Sent: Tuesday, June 15, 2004 2:49 PM Subject: RE: configureAndWatch Yoav, The problem is not the thread itself, but the fact that once started it cannot be stopped until the JVM exits. configureAndWatch does not provide a means to close the thread. Imagine the problems when the web-app is recycled and you have multiple configureAndWatch threads running amok. It does not make a pleasant sight. HTH, At 04:24 PM 6/14/2004, you wrote: >Hi, >Read the J2EE Specification guidelines on spawning user threads within a >container to understand why. configureAndWatch spawns a thread, albeit a >daemon, to watch the file. > >Yoav Shapira >Millennium Research Informatics > > > >-----Original Message----- > >From: Adrian Beech [mailto:[EMAIL PROTECTED] > >Sent: Friday, June 11, 2004 7:35 PM > >To: 'Log4J Users List' > >Subject: RE: configureAndWatch > > > >G'day, > > > >Could you possibly explain as to why this is so? > > > >AB > > > > > >-----Original Message----- > >From: Ceki G�lc� [mailto:[EMAIL PROTECTED] > >Sent: Saturday, 12 June 2004 5:25 AM > >To: Log4J Users List > >Subject: Re: configureAndWatch > > > > > >Hello Mike, > > > >It is *not* OK to use configureAndWatch in a web-app. > > > >At 09:09 PM 6/11/2004, you wrote: > > > > > >>Is it OK to use configureAndWatch in a Servlet? > >> > >>Mike > > > >-- > >Ceki G�lc� > > > > For log4j documentation consider "The complete log4j manual" > > ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > >--------------------------------------------------------------------- > >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] -- Ceki G�lc� For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
