tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pid *" <>
Subject Re: Tomcat memory leak error launching web app in NetBeans 6.9.1
Date Sat, 16 Oct 2010 14:05:44 GMT
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 that a message is issued several times as the server
> is started in NetBeans 6.9.1. The message is:
> 16-Oct-2010 12:20:18 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: A web application appears to have started a thread named
> [DefaultQuartzScheduler_Worker-1] but has failed to stop it. This is very
> likely to create a memory leak.

Yes. So, umm, your webapp uses quartz - which is starting threads and
not stopping them.

> Has anyone any idea? It seems to be causing Tomcat to stop every so often
> requiring a PC reboot. And I've found very little about this so far.

The error message is issued by Tomcat when an app is stopped and it
finds resources that haven't been properly terminated.

The message itself is doesn't cause a leak, the source of the problem
might - as the message itself states.

> I don't know if it is a problem with Tomcat or Quartz so any help is welcome

Quartz, or the way you've configured it.


> Thanks
> Martin O'Shea.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message