Questions tagged [connection-pool]
11 questions
5
votes
0 answers
Glassfish connection pool don't work after restart server
I have a connection pool in Glassfish 3.1 to connect to SqlServer 2008 Express, this pool works fine, but when Glassfish is restarted, the connection pool can't ping and stops working. To work again, I change the url hostname from "localhost" to…
brevleq
- 121
- 9
1
vote
1 answer
How to use JDBC Connection Pooling without JNDI DataSource? (in Apache Tomcat)
I have an Apache Tomcat 7 server. I have a quite complex Java Servlet application running on it which needs some MySQL queries per POST. Thus I need a MySQL Database connection to do the query. Currently I use the following Java code to create the…
Yeti
- 269
- 1
- 4
- 14
1
vote
2 answers
Mongo has a huge log and sometimes hangs the box
My mongodb_mp.log is growing very quickly
A tail -f of the file scrolls very quickly
Do I need to look into connection pooling?
ckliborn
- 2,750
- 4
- 24
- 36
1
vote
0 answers
Getting the connection pool properties
I have set up a connection pool in tomcat's server.xml and context.xml.
I am using the below code to establish a connection.
DataSource ds = (DataSource) context.lookup("jdbc/TestDB");
ds.getConnection();
Now I want to get the properties like…
Vinayak
- 73
- 7
0
votes
1 answer
JCA Connection Pool in Wildfly, how to get the current pool state
I have a Wildfly 9 and one of our JCA Resource Adapter Connection Pools is getting full, so no more connections can be requested.
As far as I can tell by now, this is the expected load and I am not loosing connections anywhere (but I keep…
Angelo Fuchs
- 197
- 1
- 13
0
votes
1 answer
Jboss SSL connection persistent
I have a Client code relying on Jboss 5.1 which uses self signed certificates for connecting to credit card servers over HTTPS. Certificate expired on 03-13-2015 9:55 AM and it got replaced the following day around 8:00 PM.
This is relatively…
smhvrtyj
- 1
0
votes
2 answers
Performance-optimizing Oracle 10g on a server that is also a Tomcat JSP app server?
I have inherited a simple RedHat 5 - 64bit platform.
It has SCSI disks on RAID1, with 16GB of RAM. Double Core CPU.
Oracle 10g, Release 2.
This would be a decent platform for running the DB only, perhaps, but the same server in an "A-A mode"…
PKHunter
- 199
- 2
- 2
- 11
0
votes
1 answer
Commons-DBCP equivalents of Alfresco's db.pool.idle and db.pool.min?
Alfresco uses DBCP internally, and exposes DBCP parameters via its own parameter names.
For instance, db.pool.initial in Alfresco actually refers to initialSize in DBCP.
Most parameter equivalences can be guessed by comparing the Alfresco doc and…
Nicolas Raoul
- 1,314
- 7
- 22
- 43
0
votes
2 answers
monitoring the size of an SQL Server connection pool
We are trying to track down a performance issue.
One theory we have is that we are running out of connections in the connection pool.
Is there a way to monitor the size of a connection pool?
Shiraz Bhaiji
- 2,219
- 8
- 34
- 47
0
votes
1 answer
Minimise client side connection to multi-tenant Postgres databases
My employer currently have multiple Postgres instances (one per customer, having a unique site code) which are physically separated on customer premises. Each customer has 1-4 databases running inside an instance, with each database containing 20+…
raven-king
- 101
- 1
-2
votes
1 answer
Can I host ONE VM from two servers?
looked around for a bit and I could not find a definitive answer. My setup is for educational purposes as I am in a CCNA/Cybersecurity program thru my college.
Anywho lets get down to it~
PC A is upstairs, directly above my main router/modem. It…
cramig88
- 1