pool « Tomcat « JPA Q&A





1. Using tomcat's connection pool with JPA    stackoverflow.com

I want to use connection pool with JPA/TopLink in my web app running on tomcat.Earlier I use jdbc's Connection and Statement classes to manipulate data in database; to use connection pool ...

3. Cannot get a connection, pool exhausted with Tomcat    forum.hibernate.org

Hi, I'm having the above mentioned error when using Hibernate with tomcat. I understand that there is suggestion that I must close my session. However, I'm still having the problem with the session.close in my finally block and I have tried to configure c3p0. The weird thing for me is that the criteria.list() is still successful I'd appreciate any advice on ...

4. Broken pipe+pool conections+tomcat+mysql    forum.hibernate.org

the probem is when the connection opens a long time the pool conection that used hibernate for work dont close the broken conections. What is the parameter of dbcp for close this connections. When i start a application the console show: AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@a84b47) LogAbandoned: true RemoveAbandoned: true RemoveAbandonedTimeout: 60 The configuration of hibernate.cfg.xml is: java:comp/env/jdbc/xxx org.hibernate.dialect.MySQLDialect