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
0 answers

How to migrate spring project from BoneCP to HikariCP for postgressql databse?

These are the beans I have created and trying to use Hikari in my project but getting the errors. LocalContainerEntityManagerFactoryBean Configuration method: @Bean public LocalContainerEntityManagerFactoryBean entityManagerFactory() { …
newbee
  • 75
  • 2
  • 7
0
votes
1 answer

Setting HikariCP configuration by passing an XML file

Am currently using BoneCP in my application and we add our configurations to 'https://github.com/wwadge/bonecp/blob/master/bonecp/src/main/resources/bonecp-default-config.xml' XML file. This was being done to take advantage of comments in the XML,…
Anuj Balan
  • 7,629
  • 23
  • 58
  • 92
0
votes
1 answer

Does connection pooling causes any accessibility issues when Many connections simultaneously accessing a Single instance of Remote DB

For instance I am using BoneCP for connection pooling in my application, hence it creates 30 connections in connection pool with the remote Database, now if at the same time at different machines, suppose 10,000 instances running, each instance…
0
votes
1 answer

BoneCP Connection Reuse in Standalone Java Program

I have a stand alone Java Program [ No application server/session involved] using Oracle DB connection and BoneCP . I need to run different Queries from different methods and I don't want the DB connection/pool created in each call. I have a…
0
votes
1 answer

Spring JDBC Template with BoneCP Connection Pooling Configuration

I have one java spring application with MySQL as a database. The MySQL connection limit is approx 12k. But my current application contain only basic configuration so my MySQL hang up while client connection reached up to 1500 to 1600 connection…
0
votes
1 answer

Reuse java connectionpool in scala

I have a legacy Java application, and would like to reuse its database connection handling when extending the app with scala. The existing application does this to use the database (with try/catch omitted): Connection dbConn =…
FelixHJ
  • 1,071
  • 3
  • 12
  • 26
0
votes
0 answers

Does BoneCP's ResultSet.getStatement() open a new connection?

I'm using bonecp v0.8.0 (which I believe is the latest), paired with Mysql Connector/J 5.1.6 Suppose I have the following code BoneCP pool = new BoneCP(...); Connection origConn = pool.getConnection(); Statement origStmt =…
kane
  • 5,465
  • 6
  • 44
  • 72
0
votes
1 answer

Integrate BoneCP and EclipseLink with LOCAL_RESOURCE transaction-type

I am setting up a minimal working example where I use EclipseLink in a Java EE (JSF) project. My example works perfectly with the following configuration and code: persistence.xml
0
votes
0 answers

Java Service Stops Running when Rejected Execution triggers

Java Service Stops Running when Rejected Execution triggers I have a running mqtt-client that acts as a bridge/server for Android apps and database pooling for MySQL and when rejected execution triggers my service stops, I'm really wondering…
david
  • 2,900
  • 5
  • 28
  • 48
0
votes
0 answers

Threadpool stopped working when database is down

I have a problem with my java service , The problem arises when our database cpu utilization goes up. Now I wonder why wouldn't my java-service return to normal after the database(mysql) has recovered. Im using database pooling using bonecp 0.7.1…
david
  • 2,900
  • 5
  • 28
  • 48
0
votes
1 answer

More connections number in MySQL when I use the BoneCP in Playframework? Any system connection created for BoneCP?

I try to configure the settings of BoneCP in my project which is using the playframework. e.g. db.server.partitionCount=1 db.server.minConnectionsPerPartition=5 db.server.maxConnectionsPerPartition=5 When I using this MySQL to check the current…
Lee
  • 21
  • 1
  • 3
0
votes
1 answer

org.slf4j.ILoggerFactory In GlassFish Server while using Bonecp or hikari cp

I am new to webservices, just I started by writing a simple database function using BoneCP(Connection Pooling) while running the tester wsdl generated by GlassFish Server, I am getting the following exception. Caused by: java.lang.SecurityException:…
RamBen
  • 990
  • 1
  • 9
  • 17
0
votes
1 answer

Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: org/hibernate/service/jdbc/connections/spi/ConnectionProvider

Getting the following error while trying to update the hibernate version 3.6.. to 4.3.* Initial SessionFactory creation failed.java.lang.NoClassDefFoundError:…
Satish
  • 537
  • 2
  • 9
  • 21
0
votes
0 answers

BoneCP:Bad URL format

I'm using the following bonecp configuration to achieve connection pooling using BoneCP.
srikanth
  • 958
  • 16
  • 37
0
votes
0 answers

hsqldb file mode with spring, db not created

I'm trying to use hsqldb in file mode with spring and hibernate, but the the database is not being initialized and i'm getting the following error message: 2015-03-12 23:58:35,542 FATAL [hsqldb.db.HSQLDB4C0FFF0D08.ENGINE]: could not reopen…
Anhermon
  • 309
  • 3
  • 16