Re: MySQL error - connection reset

From: Michael Gentry (mgentr..asslight.net)
Date: Thu Oct 28 2010 - 13:23:32 UTC

  • Next message: Bruno Ren Santos: "RE: MySQL error - connection reset"

    I believe this was fixed in 3.0.1.

    On Thu, Oct 28, 2010 at 7:31 AM, Bruno Ren Santos <brunoren..olos.pt> wrote:
    > Also when i undeploy a portlet with cayenne embedded on it i get the error
    >
    > SEVERE: A web application appears to have started a thread named
    > [cayenne-edt-2855942-4] but has failed to stop it. This is very likely to create
    > a memory leak.
    >
    > 28/Out/2010 12:29:56 org.apache.catalina.loader.WebappClassLoader
    > clearReferencesThreads
    >
    > Several times, which also means, I think, that the connection is on.
    >
    >
    >
    > Thanx
    >
    >
    >
    > De: Bruno Ren Santos [mailto:brunoren..olos.pt]
    > Enviada: quinta-feira, 28 de Outubro de 2010 11:00
    > Para: use..ayenne.apache.org
    > Assunto: MySQL error - connection reset
    >
    >
    >
    > Hello all,
    >
    > Yesterday I left an application running with cayenne on a tomcat server (left
    > the browser opened), using JNDI, and when I came today and tried to use it again
    > I got the error in attachment. It seems mysql resetted the connection with
    > cayenne during the night. One of the things that made me choose Cayenne over
    > Hibernate was under the assumption that connections were made with the database
    > server only when needed (on performQuery or commitChanges) but on this situation
    > it seemed that the connection was permanently opened and cayenne tried to use it
    > again (like hibernate).
    >
    > Perhaps I am doing something wrong and so I needed some clarification on this
    > issue.
    >
    >
    >
    > Thank you
    >
    > Bruno Santos
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Oct 28 2010 - 13:24:20 UTC