Questions tagged [bonecp]

BoneCP is a fast, free, open-source, Java database connection pool (JDBC Pool) library. It should now be considered deprecated in favour of HikariCP.

BoneCP is a fast, free, open-source, Java database connection pool (JDBC Pool) library. BoneCP's implementation is tuned for high performance by minimizing lock contention to achieve a greater throughput.

Resources:

161 questions
0
votes
1 answer

BoneCP SLF4J ClassNotFoundException

I am testing BoneCP along with other Connection pool solutions and I am having trouble getting BoneCP to work. (Using a simple Java application in Eclipse) The code I am using is copied from the BoneCP JDBC Example. Following the BoneCP Requirements…
Eazy-E
  • 33
  • 1
  • 7
0
votes
1 answer

How to avoid minutes delay during Tomcat startup

We're experiencing a significant delay during server startup of minutes on a number of production servers but cannot reproduce this in a test environment. Does anyone have any suggestions on how to debug or fix this? It happens on both Tomcat 6 and…
Marc
  • 6,773
  • 10
  • 44
  • 68
0
votes
1 answer

BoneCP sometimes cannot get config from spring property holder

I have been facing this issue for a while now. My config is as following
eviljan
  • 31
  • 4
0
votes
1 answer

How to detect closed connections in connection pool?

Imagine having an active BoneCP jdbc connection pool when the network connectivity goes down, then comes back after a minute. In order to automatically reconnect and recreate the pool, how should BoneCP be configured? Currently if I try this, all…
Faustas
  • 350
  • 1
  • 2
  • 10
0
votes
1 answer

Issues in building BoneCP using maven

I downloaded the latest BoneCP source code from following Github URL: https://github.com/wwadge/bonecp/archive/master.zip When I try to build this source using maven there are some issues in compiling bonecp-hbnprovider module. Initially I was…
avis
  • 599
  • 1
  • 6
  • 18
0
votes
1 answer

BoneCP Statement Handle Cannot Be Cast JDBC

I am trying to setup a boneCP connection and I am getting the following error message: Exception in thread "main" java.lang.ClassCastException: com.jolbox.bonecp.StatementHandle cannot be cast to com.mysql.jdbc.Statement The connection seems to work…
scriptdiddy
  • 1,207
  • 3
  • 17
  • 31
0
votes
1 answer

How to properly shutdown Embedded Derby database with BoneCP connection pool

With Derby you're specifically suppose to call: DriverManager.getConnection("jdbc:derby:myDatabase;shutdown=true"); When you want to shutdown the database. However with BoneCP you do: BoneCPConfig config = new…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
0
votes
1 answer

Does closing a connection pool in a REST service defeat the purpose of a connection pool in the first place?

I'm using BoneCP for connection pooling jdbc connections to my mysql database. I'm using the bonecp example in my REST application. If every REST request is opening and closing the connection pool, doesn't this defeat the point of connection…
Atma
  • 29,141
  • 56
  • 198
  • 299
-1
votes
1 answer

Binding parameters in BoneCP

BoneCP dont bind parameters in connectionHook. Example: Query execute time limit exceeded [15s]. Query: SELECT pg_sleep(?);
shkiper
  • 111
  • 4
-1
votes
1 answer

A child container failed during start

I am getting below error; SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component…
Kunal
  • 464
  • 2
  • 8
  • 23
-1
votes
1 answer

Tomcat memory leak - Stopping Guava Finalizer thread

I have a Spring web application running on Tomcat. When trying to shutdown Tomcat with the shutdown.sh script, the java process doesn't end because it has a Thread that's still running. The catalina.log contains Jul 22, 2013 2:07:50 PM…
Sotirios Delimanolis
  • 274,122
  • 60
  • 696
  • 724
1 2 3
10
11