1. Hmm, I get connection from the pool and I close it in the finally block. 
How can a leak occur?
2. I did at one point print the active connections(in the getConnection 
method) and the max I saw was 3. I have set 100 as max.


On Tuesday, April 24, 2018 at 2:09:59 PM UTC-5, Noel Grandin wrote:
>
> Most likely you are leaking connections, which means you are exceeding the 
> max number of connections, which is why getConnection() in 
> JdbcConnectionPool is looping and sleeping.​
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to