leak « Connection « JPA Q&A





1. Hibernate/c3p0 connection leak    stackoverflow.com

We're running a spring/hibernate/c3p0 application under load. When I reduce the c3p0 maxPoolSize to some far, far lower than the number of concurrent users, our application just hangs. There are no ...

2. MySQL Connection Leak    forum.hibernate.org

I am very new to Hibernate. I get the error below if I refresh my jsp page a few times. Quote: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown. I guess I don't close session properly. Here is the HibernateUtil class and how I use it. Please help check it and let me know if I have done anything wrong. ...

3. Hibernate - C3P0 connection pool - leak    forum.hibernate.org

Hibernate - C3P0 connection pool - leak Hi We are accessing Hibernate C3P0 connection pool using the following hibernate.cfg.xml. The idea is to ensure that there are no more than one active connection to database. If there are two thread accessing connection from pool, the second thread should be waiting for first to complete and release connection from pool. However we ...

4. Connection Leak    forum.hibernate.org

Author Message gurahbah Post subject: Connection Leak Posted: Fri Aug 12, 2005 5:05 am Newbie Joined: Mon Aug 08, 2005 4:16 pm Posts: 15 Hi, I am using Hibernate 3.0 with Spring and Weblogic. I use a connection provider that will internally lookup a datasource either using JNDI or DBCP based on whether I am running the application in ...

5. Connection Leakage errors.    forum.hibernate.org

Newbie Joined: Thu Jan 12, 2006 4:35 pm Posts: 10 Hi I am using Hibernate 3.1. In the scenario described below I am getting connection leakage errors. My app server is OC4J. I am using CMT EJBs for all the business logic (and the hibernate code is invoked from EJBs). I have a Java object Job mapped to oracle table JOB. ...

6. Connection Leak(Hibernate + Websphere)    forum.hibernate.org

Hi Experts, I am facing a strange problem with my Hibernate application deployed on WAS 6.0.2.17 ND. The transaction hangs after 6-7 days on one(any) of the nodes on the cluster. Please help. Kindly let me know if more information is required. [u]Hibernate Version = 2.1.8[/u] [u]Resource Configuration[/u] Type=javax.sql.DataSource ResAuth=CONTAINER ResSharingScope=SHAREABLE IsolationLevel=TRANSACTION_READ_UNCOMMITTED [u]Some config information[/u] net.sf.hibernate.cache.EhCacheProvider net.sf.hibernate.transaction.JTATransactionFactory net.sf.hibernate.transaction.WebSphereTransactionManagerLookup ...

7. WAS 5.1 Connection leaks    forum.hibernate.org

8. Connection leak    forum.hibernate.org

Hi Im suspecting one of our applications is leaking connections. ( See log at bottom) We are using hibernate 3.2.5 and c3p0 connection pooling. But I am in doubt on how to determine where the connections leak. Under what circumstances is the application responsible for returning the connections and when is this done automtically by hibernate? Is there fex any difference ...