Questions tagged [connection-pool]
108 questions
0
votes
1 answer
Connection Pool can give same connection to multiple transaction at same time?
In the web API application, we use a repository pattern with the SQL server. we get the below connection error,
There is already an open DataReader associated with this Command
which must be closed first.
Invalid operation. The connection…

S. Deshmukh
- 314
- 4
- 19
0
votes
1 answer
Is a connection pool for Firebird embedded pointless?
I am creating an application server using firebird 3 embedded for the database. A connection pool usually speeds up things for short connections that make one transaction and disconnect. But does this also apply for embedded firebird where no…

MichaSchumann
- 1,361
- 1
- 17
- 36
0
votes
1 answer
How to share connection pool between Amazon-ECS instances
I have spring-boot application running on Amazon-ECS. Instances of application are added on the fly using ECS. Now each application has HikariCP for connection-pool. So when I increase instances, connection-pool on each instance is not shared, &…

ajit junghare
- 110
- 7
0
votes
1 answer
Connection pool with Google App Engine and Google Cloud SQL
There are numerous questions about using a db connection pool with Google App Engine, but a lot has changed recently. Up to this point, I could never get a connection pool to work with GAE. However, I think some recent develops may allow…

Mike Dee
- 558
- 1
- 5
- 13
0
votes
0 answers
Ruby mperham/connection_pool difference between ConnectionPool and ConnectionPool::Wrapper
in following https://github.com/mperham/connection_pool, Can anybody guide me what is the difference between ConnectionPool and ConnectionPool::Wrapper ? Under what circumstances one should use ConnectionPool::Wrapper ? Pros/cons of each method if…

Mohsin Sethi
- 803
- 4
- 16
0
votes
2 answers
Cordapp- Hikari Connection Pool class not found for MySql ConnectionPoolDataSource
I am building an workflow for Corda. I want to use the Hikari connection pool library for connecting to MySql database. I AM NOT trying to replace the, ledger H2 database. This database is for storing/retrieving some information, which is not needed…

pointerness
- 323
- 3
- 12
0
votes
1 answer
Postgres giving fatal error while running my application through JBOSS
I am running my application through JBoss with postgresql database but giving me max connection error but through PGAdmin I am able to connect database
17:14:44,917 ERROR [STDERR] [WARNING]
com.mchange.v2.resourcepool.BasicResourceP…

Lina
- 305
- 1
- 6
- 15
0
votes
2 answers
TYPO3 ConnectionPool find a file after the uid of the file reference and update data
The concept is that, after a successfull save of my object, it should update a text in the database (With a Hook). Lets call the field 'succText'. The table i would like to access is the sys_file but i only get the sys_file_reference id when i save…

Aristeidis Karavas
- 1,891
- 10
- 29
0
votes
1 answer
Setting Connection pool. Reconnect to the database
There was a problem with the Connection Pool in tomee 8. After about 8 hours of work, the connection to the database is broken. How can I configure reconnect to DB.
I think over validationQuery testOnBorrow. There are also options removeAbandoned…

Алексей Земцов
- 93
- 3
- 15
0
votes
0 answers
How to connect multiple mongo databases in single node application
I have an application where each user has it's own sub domain and different mongo database for each sub domain. I am trying to connect to particular database based on the referrer sub domain, First I am checking which is the sub domain from where…

Randhir Singh
- 245
- 1
- 7
- 19
0
votes
1 answer
MongoDb with java : create new connection pool and destroy the previous one
I am implementing mongodb in java. Whenever my application starts new connection pool for mongoDB is created. Is there any way I can destroy that connection pool and create a new one, without restarting my application. I know that if any argument is…

Ravi Bhanushali
- 145
- 2
- 9
0
votes
0 answers
Spring boot Show Error with tomcat 8 connection pool Too many open files
Anybody may be help?
I have app that I bilt In Spring Boot whith externa Tomcat 8 using connection pool in context.xml.
But when I call with threads show me error after few minutes.
Look my code and configuration:
TKS 4ALL!!!
context.xml

Almir Fontenele
- 35
- 3
0
votes
1 answer
No connection available in pool, netstat shows non-zero values in Recv-Q
I have an old Java application working on java 1.6 on Tomcat 6. Due to way how it is set up in the environment, it is hard to do any inner diagnostics - basically I can't touch it so - it is a blackbox.
The app is crashing due to lack of free…

Piotr Kepka
- 318
- 3
- 5
0
votes
1 answer
How can i get connection from connection pool tomcat 8
I am learning how to work with Servlet api and trying to develop my first web application. And I have a problem with JDBC connection. I understand how I can connect to my DB, but I want to get connection from connection pool. I dont understand how I…

Dmitry Kulinich
- 1
- 2
0
votes
1 answer
PooledConnection.connectUsingDriver Not loading a JDBC driver as driverClassName property is null
My web project has developed using spring 4.2.5.RELEASE and Hibernate 4.3.5.Final . My Project POM also has below dependency
com.oracle
ojdbc6
…

Rithik_Star
- 651
- 5
- 14
- 39