connection-pooling Questions
1
As far as I understand there are two types of DataSource connections, javax.sql.DataSource and javax.sql.XADataSource, this tutorial explains that javax.sql.DataSource give the connection the abili...
Swansdown asked 26/5, 2017 at 7:32
1
Solved
If I query:
select * from pg_stat_activity where application_name ~ 'example-application';
I get many rows which state is idle and query is COMMIT. They are long lasting and do not disappear. Af...
Rotenone asked 24/5, 2017 at 10:43
1
I am having problems with the number of pooled connections in my Azure web app. And it will help me a lot if I can see the number of pooled connections so I can understand how it relates to the app...
Gardell asked 18/5, 2017 at 2:2
1
An answer from here
Typically, opening a database connection is an expensive operation, so
pooling keeps the connections active so that, when a connection is
later requested, one of the active...
Unattended asked 20/5, 2017 at 2:58
2
When I deploy an application.war that contains a servlet to my weblogic server it runs fine. The servlet uses an instance of UniversalConnectionPoolManagerMBean and starts up without any problems.
...
Kibitzer asked 1/3, 2013 at 20:30
1
I've written some code to write some data to SQL Server, using Dapper. I don't need to wait for this write to complete before continuing other work, so want to use Task.Run() to make this asynchron...
Acquire asked 9/5, 2017 at 15:57
2
Solved
I have a little or no knowledge at how to properly implement postgres connection pool in node.js modules.
My question is : Is it problem when I am creating new Pool in every module where I need a ...
Ramires asked 3/8, 2016 at 15:29
2
I have a web application hosted on IIS 7, using Oracle.DataAcess.dll for .NET to perform the connection and queries to the Oracle Data base.
In the last week, we suddenly encountered numerous error...
Outfield asked 8/4, 2017 at 14:11
2
I am trying to compare Some of the java connection pool libraries, but so far I've not found any satisfactory answer.
Right now C3P0 is being used in my application but I want to suggest other Con...
Friseur asked 4/10, 2016 at 8:13
2
Java Spark framework uses embedded Jetty as as web server.
Jetty supports connection pooling with tools such as HikariCP and
provides configuration options in XML files. However, according
to thes...
Koball asked 23/3, 2017 at 10:45
3
PROBLEM
I have recently been put in charge of a Java web application with code already written and in place. The app receives moderately high traffic and has peak hours of traffic between 11am to ...
Rodgers asked 11/2, 2014 at 10:5
2
Refering to the following implementation mentioned in:
http://doc.akka.io/docs/akka-http/10.0.5/scala/http/client-side/host-level.html
val poolClientFlow = Http().cachedHostConnectionPool[Promis...
Benoni asked 25/3, 2017 at 7:32
1
Solved
What are abandoned connections? What will happen if I will set
removeAbandoned = false?
Thank You!
Demivolt asked 6/3, 2017 at 21:47
2
Solved
Reading the instructions on the HikariCP wiki about how to enable the Dropwizard metrics, it says to just configure a MetricsRegistry instance in HikariConfig or HikariDatasource.
Problem is, in S...
Tenner asked 19/2, 2015 at 19:29
3
Solved
I am using weblogic JDBC datasource and my DB is Oracle 10g, below is the configuration.
It used to work fine but suddenly it started giving problem, please see below exception.
Weblogic JDBC
...
Tarpan asked 20/4, 2010 at 15:16
1
Solved
I have a spring application where its home page fire multiple ajax calls which in turn fetch data from the DB and return back. The DB has been configured with connection pooling with minPoolSize as...
Undesirable asked 10/1, 2017 at 10:10
1
Solved
I keep seeing this log when I use connections in Hikari pool.
[com.zaxxer.hikari.pool.PoolElf] : HikariPool-0 - Reset (autoCommit) on connection com.mysql.jdbc.JDBC4Connection@1c9b0314
[com.zaxxe...
Teter asked 17/12, 2016 at 19:25
4
Solved
I am using connection pooling of tomcat with oracle database. It is working fine, but when i use my application after a long time it is giving error that "connection reset". I am getting this error...
Abomb asked 17/5, 2011 at 12:5
1
Solved
I'm reading Java Persistence with Hibernate, and I found the following text.
Today, high-quality standalone JTA providers such as Bitronix (used for the example code of this book) and Atomikos a...
Iva asked 1/12, 2016 at 13:46
1
Solved
We are trying to implement connection pooling using c3p0. The issue is when there are no transactions on our server for long time, the very first next transaction have connection timeout issue.
Ex...
Cowles asked 18/11, 2016 at 7:54
2
I'm trying to figure out how to best handle database operations while using an actor system. indeed database operations are blocking while we try not to block in AKKA.
I red in the main doc that ...
Destine asked 17/2, 2015 at 0:12
3
The problem setup is based on a webservice (Spring/Java, Tomcat7 and MySql) where every user gets their own database, hence each request needs their own connection. As all databases are created dyn...
Laoag asked 27/5, 2015 at 9:43
1
So, i have a application that uses spring-boot 1.4.0 and a Oracle database. I'm trying to define the number of connections of the pool in the application.properties, using these configs:
spring.da...
Naughty asked 3/11, 2016 at 12:26
1
I have Created an Java Swing Application with MySQL as the database, Now i am hosting my MySQL database online and Swing Application will be stored locally, Now in order to experiment i have hosted...
Interrogatory asked 1/11, 2016 at 11:7
4
I have been experiencing (I think) issues with my connection pooling.
Specifically, my logs show the message:
org.apache.tomcat.dbcp.pool2.impl.DefaultPooledObject$AbandonedObjectCreatedExceptio...
Greenbelt asked 6/10, 2016 at 14:18
© 2022 - 2024 — McMap. All rights reserved.