Questions tagged as 'c3p0'

1
answer

Difficulties Session Hibernate

My web application uses Hibernate 4.3 and does Connection Pool control using C3P0. Difficulties happen on a recurring basis and unfortunately I can not seem to find the problem that causes such errors. Here's one of the errors: org.hiber...
asked by 30.04.2018 / 13:40
0
answers

Problems with C3P0 properties

I noticed the following information in the console: WARN: HHH000022: c3p0 properties were encountered, but the c3p0 provider class was not found on the classpath; these properties are going to be ignored. hibernate.cfg.xml (Java Resources /...
asked by 06.11.2018 / 17:41
0
answers

Server does not start, triggering c3p0 pool error ... com.mchange.v2.c3p0.ComboPooledDataSource

When I give Start to Tomcat it locks in c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource and then triggers the error quoted below. The configuration class follows: @Configuration @EnableTransactionManagement @Enab...
asked by 21.08.2018 / 18:25
0
answers

org.hibernate.exception.JDBCConnectionException: Could not open connection

I'm having trouble losing connection to the MySQL database, which occurs after a few minutes of use. Please, could anyone help me? I have no idea what it can be. Here are my codes: hibernate.cfg.xml <property name="hibernate.conn...
asked by 18.05.2018 / 22:17
1
answer

This web container has not yet started

My Java Web application, using Hibernate, published on a Glassfish server and using MySql database published in Hostgator is constantly causing the following error: [2018-01-31T11:51:15.852-0200] [glassfish 4.0] [WARNING] [] [com.mchange.v2.re...
asked by 31.01.2018 / 16:14
1
answer

c3p0 generating many connections

Code that gets the connection InitialContext ctx = new InitialContext(); DataSource ds = (DataSource) ctx.lookup("java:/comp/env/jdbc/oracledb"); Connection connection = ds.getConnection(); connection.setAut...
asked by 24.10.2017 / 14:31