Most voted "c3p0" questions
7 questions
Sort by count of
-
1
votes1
answer163
views -
1
votes1
answer31
viewsDifferent web applications use the same connection pool
Hello! I have two Webs applications that are connected to a single database in the bank, how do I make them enjoy the same connection pool? I create the c3p0 variables in the persistence.xml of…
-
1
votes0
answers167
viewsJava Pool Hibernate c3p0
Dear friends, good afternoon. I have a Java solution that’s generating production problems, taking down the bank. After a few changes, I set up a pool using Hibernate c3p0 to manage the number of…
-
0
votes1
answer483
viewsThis web container has not yet been Started
My Java Web application, using Hibernate, published on a Glassfish server and using Mysql database published on Hostgator this causing, constantly the following error: [2018-01-31T11:51:15.852-0200]…
-
0
votes0
answers668
viewsorg.hibernate.Exception.Jdbcconnectionexception: Could not open Connection
I am having trouble losing connection to Mysql database, which occurs after few minutes of use. Please, can someone help me? I have no idea what it could be. Follows my codes: Hibernate.cfg.xml…
-
0
votes0
answers45
viewsJava Web / Glassfish application stopping
I’m having a problem and unfortunately I’m not finding the cause. I have 3 Java Web applications running on a Glassfish server and what happens is that these applications suddenly stop working.…
-
-1
votes1
answer362
viewsc3p0 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();…