1
votes

We are currently deploying some applications on a glassfish 3.0.1 using a postgres database through postgresql-9.0-801.jdbc4.jar
Our actual configuration regarding the connexion pool is:

Idle Timeout: 120 seconds
Max Wait Time: 60000 milliseconds
Initial and Minimum Pool Size: 1
Maximum Pool Size: 1
Pool Resize Quantity: 1

We have noticed that the database connexions are droped and created every 140 seconds instead of 120 seconds.

Is there something we have missed?

1

1 Answers

0
votes

It's probably being active for 20 seconds. Checking that the connection is valid etc.