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 with Hibernate 4.3.x

I've updated hibernate to a new version in one of my projects, and now i have to update BoneCP too because the ConnectionProvider - Package Declaration changed in Hibernate 4.3.x. The change is already on BoneCP's git but i can't find an updated…
mikepenz
  • 12,708
  • 14
  • 77
  • 117
0
votes
1 answer

BoneCP config in Spring-based application for Cloudbees

I use BoneCP in my Spring-based application.
Sandah Aung
  • 6,156
  • 15
  • 56
  • 98
0
votes
0 answers

DB connection issue with Playframework 2.1 and Bonecp 0.8.0 : This connection has been closed

I was facing an issue with Bonecp 0.7.1 on a Playframework app using postgresql 9.2.4 on Heroku. It seems this version had a DB connection leak causing after several DB accesses the folllwing error : [error] c.j.b.h.AbstractConnectionHook -…
Maxime
  • 191
  • 9
0
votes
1 answer

After Full GC yet the instances of socket keep growing?

I have socket application with the code snippet as below. I have ensured that the socket is closed in a finally block. I just had a Full GC I guess either yesterday or the day before. Then I compare the instances of the socket via jmap before this…
user2711681
  • 285
  • 7
  • 16
0
votes
1 answer

Error trying to configure Tomcat Global JNDI ConnectionPool with BoneCP

I have the following files in…
van
  • 9,159
  • 19
  • 60
  • 93
0
votes
1 answer

bonecp - execute statement on all connections in the pool

I'm using bonecp, JDBCTemplate and postgresql in a Spring application. I want to set the application_name of each connection in the connection pool The following psql statement sets the application name: set application_name = 'my_application' But…
nclord
  • 1,287
  • 1
  • 16
  • 17
0
votes
1 answer

how to configure slf4j on boneCP

BoneCP version=0.7.1 slf4j=1.7.5 Every time when I connect to mysql. It would say log4j:WARN No appenders could be found for logger (com.jolbox.bonecp.BoneCPConfig). log4j:WARN Please initialize the log4j system properly. log4j:WARN See…
Karl.Li
  • 169
  • 12
0
votes
1 answer

jdbc executeBatch hangs when using the combination of MySQL and BoneCP

Here is my code for reading SQL from a file and then do batch updates public void update(Connection conn, File f) { Statement st = null; Scanner sc = null; try { conn.setAutoCommit(false); st = conn.createStatement(); …
Will
  • 539
  • 2
  • 8
  • 18
0
votes
1 answer

What's the best way to handle a session timeout?

I am dealing with a JSP-Web-Application and get troubles in the moment the session expires. As placed in the web.xml the timeout is defined after 30 Minutes. But I want to keep the session alive during the time the user just keeps the window opened.…
Qohelet
  • 1,459
  • 4
  • 24
  • 41
0
votes
1 answer

Not seeing BoneCP shutdown() with Hibernate, Spring, Bonecp

I am implementing an application with Spring, Hibernate and BoneCP. When I invoke the shutdown script of Tomcat I see errors like this The web application [/REST] appears to have started a thread named [BoneCP-release-thread-helper-thread] but has…
Ravi Nankani
  • 539
  • 1
  • 7
  • 15
0
votes
1 answer

BoneCP with Vertica

I tried using BoneCP to pool Vertica connections but am running into errors [BoneCP-pool-watch-thread-vertica pool] ERROR com.jolbox.bonecp.PoolWatchThread - Error in trying to obtain a connection. Retrying in 7000ms java.sql.SQLException:…
mzzzzb
  • 1,422
  • 19
  • 38
0
votes
1 answer

BoneCP connection timeout

I am integrating Hibernate 4 with BoneCP and wanted to understand what these properties mean: 30 240 select 1 from…
Ravi Nankani
  • 539
  • 1
  • 7
  • 15
0
votes
2 answers

How to set Customized Type Mappings in JDBC when using collection pool?

How can I set Customized Type Mappings in JDBC when using collection pool ? I'm using BoneCP. Calling getTypeMap/setTypeMap ever time I get Connection object is a bit inconvenient.
expert
  • 29,290
  • 30
  • 110
  • 214
0
votes
1 answer

Soap Server WSDL viewable in browser, but wont load any functions in SoapUI

I just recently installed BoneCP on my soap server to prevent too many mysql connections being made when people hit the soap server. Before I switched over to boneCP the soap server was working, however now after I've installed boneCP I can see the…
Kynian
  • 660
  • 4
  • 15
  • 30
0
votes
1 answer

BoneCP in tomcat context.xml throws an exception about being unable to find a jdbc driver

This is the configuration that I'm trying to replace
Cogman
  • 2,070
  • 19
  • 36
1 2 3
10
11