0 Replies Latest reply on Jan 5, 2005 9:01 AM by Esther Delgado

    Closing a connection for you.  Please close them yourself

    Esther Delgado Newbie

      I'm trying to make the connection pool with my database using an EJB and I get the following error:

      14:51:04,327 INFO [CachedConnectionManager] Closing a connection for you. Plea
      se close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@156606

      I've tried to close the connection in the same function where it's open and it works, but I don't want this solution because if I do that, I can't work with my database. I imagine the EJB can't keep the connection open. Is there any attribute to configure in ejb-jar.xml or jboss.xml that ables to close the connection manually at any place?

      Thanks in advance.