1. Hibernate, C3P0, Mysql -- Broken Pipe stackoverflow.comMySQL seems to have an 8 hour time out on its connections. I'm running multiple WARs in Tomcat utilizing Hibernate for ORM. After 8 hours (i.e. overnight), I get ... |
2. Hibernate assertion failure when using C3P0 stackoverflow.comI have a Tomcat server using Hibernate 3.3 on a MS Sql Server. When using Hibernate's default connection pool, I was getting several errors related to connections in an invalid state, ... |
3. Tomcat + c3p0 + Hibernate hanging problem forum.hibernate.orgNewbie Joined: Wed Jun 09, 2004 3:12 am Posts: 1 We are having a problem with our usage of tomcat/hibernate/c3p0 wherein our site (seemingly randomly) hangs after users poke around in it. The site is unresponsive in this hung state and we have to restart the tomcat service. Our database seems to be fine as we can use the mysql command ... |
4. hibernate 3 + tomcat 5.5 + c3p0 forum.hibernate.orgMy application is working well with the combination hibernate 3 + tomcat 4.1 + c3p0. But now I have to change to tomcat 5.5. Does anyone know what should I do? Because I've tried just changing the version of tomcat and the browser doesn't show the first JSP of the system (no log error message is shown). Do I have to ... |
5. c3p0 connection pool problem and Tomcat forum.hibernate.orgNewbie Joined: Tue Feb 05, 2008 4:55 pm Posts: 2 Location: Germany I am going to use c3p0 connection pooling with Tomcat 6.0.14 server. Without connection pooling everything works well. Using c3p0 i got following exception: Code: 07.07.2008 17:01:07 org.apache.catalina.core.StandardWrapperValve invoke SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception java.sql.SQLException: com.mchange.v2.c3p0.PoolBackedDataSource@77650b9a [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@e8a27402 [ acquireIncrement -> 1, acquireRetryAttempts -> 30, ... |
6. Hibernate + c3p0 issue on Tomcat forum.hibernate.orgHi Guys, I'm trying to use the following setup: Tomcat 6.0.16 c3p0-0.9.1 Hibernate-c3p0-3.3.1.ga, Hibernate-core-3.3.1.ga, etc Everything starts fine until this occurs... INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/urs] has already been started Exception in thread "Timer-0" java.lang.NoClassDefFoundError: com/mchange/v2/resourcepool/BasicResourcePool$1DestroyResourceTask at com.mchange.v2.resourcepool.BasicResourcePool.destroyResource(BasicResourcePool.java:980) at com.mchange.v2.resourcepool.BasicResourcePool.removeResource(BasicResourcePool.java:1406) at com.mchange.v2.resourcepool.BasicResourcePool.removeResource(BasicResourcePool.java:1378) at com.mchange.v2.resourcepool.BasicResourcePool.cullExpired(BasicResourcePool.java:1462) at com.mchange.v2.resourcepool.BasicResourcePool.access$1900(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:1937) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.ClassNotFoundException: com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) ... ... |