RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-20 Thread Martin O'Shea
Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 20/10/2010 12:41, Martin O'Shea wrote: > And then when I terminate the Quartz application, but leave Tomcat > running, the second dump appears to be show no trace of these messages > at all. So

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-20 Thread Pid
On 20/10/2010 12:41, Martin O'Shea wrote: > And then when I terminate the Quartz application, but leave Tomcat running, > the second dump appears to be show no trace of these messages at all. So > does this indicate that Quartz has shut down but only after my application > has stopped within Tomcat

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-20 Thread Martin O'Shea
ct: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 > Where there are fewer messages but it still seems as if > Tomcat is detect

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread appy74
Thanks Charles. Quoting "Caldarale, Charles R" : > > From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > > > Are you able to advise how this may be done within > > NetBea

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread Caldarale, Charles R
> From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > Are you able to advise how this may be done within > NetBeans 6.9.1 / Tomcat 6.0.26? Within NetBeans? No idea. (As stated before, I don't

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread appy74
Are you able to advise how this may be done within NetBeans 6.9.1 / Tomcat 6.0.26? Thanks. Quoting "Caldarale, Charles R" : > > From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > > Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 >

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread Caldarale, Charles R
> From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 > Where there are fewer messages but it still seems as if > Tomcat is detecting Quartz threads after Quartz is shut down. Which means Quartz

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread appy74
Well, I've tried Mark's code earlier, albeit without using a properties file for Log4J, and the position has improved slightly. The log indicates the following: INFO: Pausing Coyote AJP/1.3 on ajp-8009 Job Job1 unsubmitted at 2010-10-19 15:18:10 24047 [main] INFO org.quartz.core.QuartzScheduler

Heading [OT] Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread Pid
On 19/10/2010 01:07, Mark Eggers wrote: > Once again, I apologize for the wall of text. However, most of it is > pretty quick and dirty code, so it should be easy to skim. > > I'm guessing the end result is harmless? Well, if the ClassLoader is still extant after it's supposed to have been cleare

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread Martin O'Shea
Thanks Mark. I will give this a try later on. -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: 19 Oct 2010 01 08 To: Tomcat Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 Once again, I apologize for the wall of text. However

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Eggers
Once again, I apologize for the wall of text. However, most of it is pretty quick and dirty code, so it should be easy to skim. I'm guessing the end result is harmless? It does seem like a race condition. Everything seems to work fine until shutdown. When DEBUG is set in logging, you get the foll

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Eggers
ting the SchedulerFactory first, then getting a scheduler, then starting the scheduler, and finally adding a job. - Original Message From: Pid To: Tomcat Users List Sent: Mon, October 18, 2010 3:15:28 PM Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 18/1

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Pid
On 18/10/2010 23:02, Mark Thomas wrote: > On 18/10/2010 16:56, Mark Thomas wrote: >> On 18/10/2010 12:05, Mark Eggers wrote: >>> I saw a mention of this on the Quartz forums. People there seem to think >>> it's a >>> race condition between Quartz's scheduler shutdown and Tomcat's thread >>> memo

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Pid
("Scheduler stopped"); > } > } > > So I think that according to these, the scheduler should end 'gracefully' by > unsubmitting the jobs and by using scheduler.shutdown(true);. > > If I'm wrong, please let me know. > > -Origin

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Thomas
On 18/10/2010 16:56, Mark Thomas wrote: > On 18/10/2010 12:05, Mark Eggers wrote: >> I saw a mention of this on the Quartz forums. People there seem to think >> it's a >> race condition between Quartz's scheduler shutdown and Tomcat's thread >> memory >> leak reporting. > > That is certainly p

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Thomas
On 18/10/2010 12:05, Mark Eggers wrote: > I saw a mention of this on the Quartz forums. People there seem to think it's > a > race condition between Quartz's scheduler shutdown and Tomcat's thread memory > leak reporting. That is certainly possible. There was a reason I wrote the message "This

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Martin O'Shea
he scheduler should end 'gracefully' by unsubmitting the jobs and by using scheduler.shutdown(true);. If I'm wrong, please let me know. -Original Message----- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: 18 Oct 2010 18 06 To: Tomcat Users List Subject: Re: Tomcat

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Eggers
-- From: Martin O'Shea To: Tomcat Users List Sent: Mon, October 18, 2010 5:52:08 AM Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 You're probably correct and assuming this is to do with Quartz which it seems to be, are you aware of any similar c

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Martin O'Shea
omcat memory leak error launching web app in NetBeans 6.9.1 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 10/16/2010 11:11 AM, Martin O'Shea wrote: > Definitely seems to be when the web application in question is terminated, > rather than Tomcat itself. And all indications are t

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 10/16/2010 11:11 AM, Martin O'Shea wrote: > Definitely seems to be when the web application in question is terminated, > rather than Tomcat itself. And all indications are the listener that handles > the scheduler. > > And I've tried ano

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-17 Thread Martin O'Shea
Well, I've upgraded to Quartz 1.8.3 and the two SLF4J files that seem to be needed. I believe Quartz's config is correct with regards to the two scheduled jobs I have. But upon terminating my web app in Tomcat or terminating Tomcat, I still find a number of messages: -Oct-2010 14:40:52 org.apac

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 16/10/2010 15:24, Martin O'Shea wrote: > OK. So the error is happening as the application is closed, not as it > started. My mistake. But Tomcat restarts occur frequently as I have > NetBeans's Deplo

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Pid
ome of it results in a message and an attempt to clean up. p > -Original Message- > From: Pid * [mailto:p...@pidster.com] > Sent: 16 Oct 2010 15 06 > To: Tomcat Users List > Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 > > On 16 Oct 2010, at 12

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
other environments. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 16 Oct 2010 15 53 To: Tomcat Users List Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Sub

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > When the application is terminated, e.g. when the server > is stopped, appropriate messages are issued to confirm > that the scheduler has stopp

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
s.com] Sent: 16 Oct 2010 15 30 To: Tomcat Users List Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > I have NetBeans's

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > I have NetBeans's Deploy on Save set. This seems to restart > the server with the current objects. No, it restarts the webapp, not the serve

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
...@pidster.com] Sent: 16 Oct 2010 15 06 To: Tomcat Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 16 Oct 2010, at 12:45, Martin O'Shea wrote: > Hello > > I wonder if anyone can help here? I am developing a web application written > in J

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Pid *
On 16 Oct 2010, at 12:45, Martin O'Shea wrote: > Hello > > I wonder if anyone can help here? I am developing a web application written > in Java servlets and JSPs which uses Quartz 1.6.1 to submit two jobs when > Apache Tomcat 6.0.26 is started and hourly after that. > > But what I'm finding is t

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: Tomcat memory leak error launching web app in NetBeans 6.9.1 > 16-Oct-2010 12:20:18 org.apache.catalina.loader.WebappClassLoader > clearReferencesThreads > SEVERE: A web application appears to have st

Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
Hello I wonder if anyone can help here? I am developing a web application written in Java servlets and JSPs which uses Quartz 1.6.1 to submit two jobs when Apache Tomcat 6.0.26 is started and hourly after that. But what I'm finding is that a message is issued several times as the server is star