Own Logging Handler not closing correctly

2010-08-24 Thread pue85
Tomcat: 6.0.29 OS: Mac OS Java: 1.5 I wrote an own java.util.logging.Handler to get the logs over the network. The handler is configured via myWebapp/WEB-INF/classes/logging.properties and is working very well. The handler uses some threads to do his job. I used the close()-Method to

Re: Own Logging Handler not closing correctly

2010-08-24 Thread Mark Thomas
On 24/08/2010 10:20, pu...@web.de wrote: Tomcat: 6.0.29 OS: Mac OS Java: 1.5 I wrote an own java.util.logging.Handler to get the logs over the network. The handler is configured via myWebapp/WEB-INF/classes/logging.properties and is working very well. The handler uses some threads to

Re: Own Logging Handler not closing correctly

2010-08-24 Thread pue85
On 24/08/2010 10:20, pu...@web.de wrote: Tomcat: 6.0.29 OS: Mac OS Java: 1.5 I wrote an own java.util.logging.Handler to get the logs over the network. The handler is configured via myWebapp/WEB-INF/classes/logging.properties and is working very well. The handler uses some threads to do

RE: Own Logging Handler not closing correctly

2010-08-24 Thread Caldarale, Charles R
From: pu...@web.de [mailto:pu...@web.de] Subject: Re: Own Logging Handler not closing correctly Do you have any idea how to do better? Can you stop the threads with the contextDestroyed() method of a SevletContextListener? That's where auxiliary thread management is expected to be done

RE: Own Logging Handler not closing correctly

2010-08-24 Thread pue85
Can you stop the threads with the contextDestroyed() method of a SevletContextListener?  That's where auxiliary thread management is expected to be done. - Chuck I was thinking about that. But that's not really what I want. Anybody should be able to use the handler without doing extra things

RE: Own Logging Handler not closing correctly

2010-08-24 Thread Caldarale, Charles R
From: pu...@web.de [mailto:pu...@web.de] Subject: RE: Own Logging Handler not closing correctly Anybody should be able to use the handler without doing extra things in their webapps... I'm not sure that's a reasonable assumption, since you have the log handler established within a single

Re: Own Logging Handler not closing correctly

2010-08-24 Thread Pid
On 24/08/2010 14:35, Caldarale, Charles R wrote: From: pu...@web.de [mailto:pu...@web.de] Subject: RE: Own Logging Handler not closing correctly Anybody should be able to use the handler without doing extra things in their webapps... I'm not sure that's a reasonable assumption, since you