Skip to content
Advertisement

Tag: c3p0

C3P0: pool is already maxed out

Can someone tell me what this means? I recently converted almost all of my code to try-with-resources so that cleanup of connections would be less problematic. I’m assuming that I’m out of the number of connections that C3P0 will handle without additional configuration. This is a mostly single threaded thing here. There is another thread at work here but I

Understanding “APPARENT DEADLOCK!!! Complete Status” details

I have posted a small part of a log below from which I would really appreciate if someone can decode the following: List item Managed Threads Active Threads Active Tasks Pending Tasks Pool thread stack traces I have the following C3PO configuration: This is the Log: Some information on the apparent deadlock would be appreciated. Answer The thread pool contains

Hibernate C3P0 settings performance issues

Since we have added C3P0 connection pooling to the application performance became slower. It is Oracle 10g database, Hibernate 3.1.3 and C3P0 0.9.0.4. WebSphere application server. I am very new to this things, so I don’t understand everything. Is this configuration could slow down the app performance? What should I change if so? Answer c3p0-0.9.0.x is very, very old. Please

COPY FROM and C3PO connection pool in Postgres

I have the follow code in my JAVA program that allows me to copy data from a file into my Postgres database: This code works fine, but I would like to use a connection pool to manage my connections, as I have this code running for numerous files. So I used C3P0. However, when i get a connection from the

Initializing C3P0 connection pool takes 2 min

I can’t wrap my head around why the initialization of a c3p0 connection pool takes 2 min in my Hibernate application. This is in my Hibernate.cfg.xml: The connection settings are set in my HibernateUtil file when building the session factory. The pool is initialize when the first transaction in my tests is openend. Connecting and querying the db works just

Advertisement