Questions tagged [connection-pool]
108 questions
0
votes
2 answers
Kill multiple connections at a time
I am using root as username.
My program will refresh every 5 seconds.
What it does is, it query from mysql table and display the data.
Problem is, every after 5 seconds, the connection on mysql will append, reason that it will give an error of "TOO…

AyukNayr
- 386
- 2
- 21
0
votes
1 answer
Get a connection from the pool - Envoy
I need to get a connection from pool to connect to the upstream but facing 503 issues occassionally. I would like to know the root cause for…

Nagireddy Hanisha
- 1,290
- 4
- 17
- 39
0
votes
1 answer
Does my application need a connection pool if backend database is NoSQL (Azure Cosoms DB)
I am very new to NoSQL world and wondering how connections are managed by NoSQL databases like Azure Cosmos DB.
I am designing a highly scalable solution for real-time application. And one of the concern is how to manage numerous…

Ahmed
- 489
- 4
- 12
0
votes
0 answers
Cannot create PoolableConnectionFactory and open JDBC Connection
WARN : org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error:
0, SQLState: null ERROR:
org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Cannot create
PoolableConnectionFactory (Access denied for user 'root'@'localhost'
(using…

a bc
- 43
- 1
- 1
- 7
0
votes
2 answers
Check active connection timeout in Tomcat JDBC Connection Pool
We have a connection to postgres database that is configured with tomcat connection pool. The problem is that when connection becomes active it never goes back to idle.
When I start my microservice it has 0 active connections and 10 idle ones. After…

Vitalii
- 10,091
- 18
- 83
- 151
0
votes
1 answer
Can we use plain jdbc connection for spring transaction management
I have plain jdbc connection pool in my project and using ejb for transaction. Now I want to change the transaction management to Spring transaction management
but, I don't want to create separate datasource for this, I want to use same plain…

Manas B
- 5
- 2
0
votes
0 answers
Dropwizard and hibernate project has startup issue with classloader error
I have attempted working with SQLite and h2 databases, with the sqlite-jdbc-3.20.1.jar /h2-1.4.195.jar in the classpath.
I have the h2 driver jar in my pom.xml, didn't seem to make a difference at runtime.
…

SriniMurthy
- 113
- 2
- 13
0
votes
1 answer
How to implement a connection pool in web application like django?
The purpose is to implement a pool like database connection pool in my web application. My application is write by Django.
The problem is that every time a http request come, my code will be loaded and run through. So if I write some code to…

Mingwei Li
- 11
- 2
0
votes
1 answer
I'm using okhttp3 for API request. But when ever a new request is fired each time new connection pool is created
Due to too many connection is open, after some days server is hanging because of open file issues.
I have constructor which create a new object every time
OkHttpClient client = new…

Likith Ts
- 296
- 1
- 7
- 18
0
votes
0 answers
MySQL JDBC Datasource lookup fails after updating to mysql-connector-java-5.1.44
Consider following code snippet:
try
{//try to connect
conn = DatasourceProvider.getDatasource("java:comp/env/jdbc/mysql/my_db").getConnection();
}
catch(Exception ex)
{//failed to acquire connection from the pool, retry
…

Ehsan Khodarahmi
- 4,772
- 10
- 60
- 87
0
votes
0 answers
How to detect mongo router failure quickly with mongo async java driver?
If i have a pool of mongo routers in my mongo URI and if one of the mongo routers goes down abruptly, it takes some time before detecting the router is down. Which parameters to tune to enable quick detection of down mongos and hence reduce the…

nihar kawli
- 52
- 7
0
votes
1 answer
Issues with redis-rails and connection_pool
How I can initialize my redis_store to have connection pooling. I want to add pooling attributes { pool_size: 10, pool_timeout: 10 } I have added connection_pool gem
Example::Application.config.session_store :redis_store,
…

Ch Zeeshan
- 1,644
- 11
- 29
0
votes
0 answers
Connection Pool in SQLite
I want to create multiple connection to SQLite and keep hold of it as my application is a long running and I don't want to keep connection open for that much time. So how can I implement connection pool using SQLite in java.

kunal kashyap
- 215
- 1
- 4
- 8
0
votes
1 answer
Using JDBC Pool in oracle weblogic Server,
I have a question that puzzles me these days. I am using JDBC connection pool in oracle weblogc server for my REST API calls. The package was deployed and was able to handle the incoming requests correctly.
But somehow, after a new request is…

user3595231
- 711
- 12
- 29
0
votes
1 answer
connection error in python ssl
I am trying to login to a https location and I am facing this error. I am not sure what is causing this issue. Can anyone help me out with this ?
2017-03-03T12:00:23: %T-ERROR: Caught exception during execution:
2017-03-03T12:00:23: %T-ERROR:…

Ree
- 129
- 3
- 5
- 9