cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Memory Leak?
Date Tue, 20 Jul 2010 13:34:22 GMT
You are probably using hot redeploy. In this case you will need to  
shut down EventManager in a "destroy" method of your servlet or  
filter. This will kill those cayenne-edt threads from the undeployed  
application.

Andrus


On Jul 20, 2010, at 4:28 PM, Andrew Willerding wrote:

> When starting my web app under Tomcat 6.0.26, I get the following  
> logged..
>
> (The application otherwise appears to be working fine so I'm just  
> wondering if I should be concerned or how to prevent this error from  
> happening upon startup)
>
> 20-Jul-2010 9:16:40 AM org.apache.catalina.loader.WebappClassLoader  
> clearReferencesJdbc
> SEVERE: A web application registered the JBDC driver  
> [com.ibm.db2.jcc.DB2Driver] but failed to unregister it when the web  
> application was stopped. To prevent a memory leak, the JDBC Driver  
> has been forcibly unregistered.
> 20-Jul-2010 9:16:40 AM org.apache.catalina.loader.WebappClassLoader  
> clearReferencesThreads
> SEVERE: A web application appears to have started a thread named  
> [cayenne-edt-597457953-0] but has failed to stop it. This is very  
> likely to create a memory leak.
> 20-Jul-2010 9:16:40 AM org.apache.catalina.loader.WebappClassLoader  
> clearReferencesThreads
> SEVERE: A web application appears to have started a thread named  
> [cayenne-edt-597457953-1] but has failed to stop it. This is very  
> likely to create a memory leak.
> 20-Jul-2010 9:16:40 AM org.apache.catalina.loader.WebappClassLoader  
> clearReferencesThreads
> SEVERE: A web application appears to have started a thread named  
> [cayenne-edt-597457953-2] but has failed to stop it. This is very  
> likely to create a memory leak.
> 20-Jul-2010 9:16:40 AM org.apache.catalina.loader.WebappClassLoader  
> clearReferencesThreads
> SEVERE: A web application appears to have started a thread named  
> [cayenne-edt-597457953-3] but has failed to stop it. This is very  
> likely to create a memory leak.
> 20-Jul-2010 9:16:40 AM org.apache.catalina.loader.WebappClassLoader  
> clearReferencesThreads
> SEVERE: A web application appears to have started a thread named  
> [cayenne-edt-597457953-4] but has failed to stop it. This is very  
> likely to create a memory leak.
> 20-Jul-2010 9:16:40 AM org.apache.catalina.loader.WebappClassLoader  
> clearReferencesThreads
> SEVERE: A web application appears to have started a thread named  
> [PoolManagerCleanup-2013151593] but has failed to stop it. This is  
> very likely to create a memory leak.
> log4j:WARN No appenders could be found for logger  
> (org.apache.cayenne.conf.DefaultConfiguration).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig  
> for more info.
>
> Thanks,
>
> Andrew
>


Mime
View raw message