Re: Memory Leak?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Jul 20 2010 - 13:36:08 UTC

  • Next message: Robert Zeigler: "Re: column/entity property names"

    Also I think we should add this shutdown code to Cayenne
    WebApplicationContextFilter. Will log a Jira for 3.0.1.

    Andrus

    On Jul 20, 2010, at 4:34 PM, Andrus Adamchik wrote:

    > 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
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Jul 20 2010 - 13:36:43 UTC