I monitoring BoneCP connection pool status using JConsole. I have observed there is a discrepancy between connection count in connection and MY-SQL server.
For instance,
Connection pool total connection : 60
Free connection : 60
but,
MY-SQL shows : 85 connections (all are created by same application).
Jar version : bonecp-0.7.1.RELEASE.jar
I am getting exception in application error console :
19-12-2014 11:51:01 ERROR [BoneCP-pool-watch-thread] [com.jolbox.bonecp.PoolWatchThread] - Error in trying to obtain a connection. Retrying in 7000ms
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
please advise me If I have apply this patch, my problem goes away.
Hi, I am using BoneCP with hibernate.
I monitoring BoneCP connection pool status using JConsole. I have observed there is a discrepancy between connection count in connection and MY-SQL server.
For instance,
Connection pool total connection : 60
Free connection : 60
but,
MY-SQL shows : 85 connections (all are created by same application).
Jar version : bonecp- 0.7.1.RELEASE. jar
I am getting exception in application error console :
19-12-2014 11:51:01 ERROR [BoneCP- pool-watch- thread] [com.jolbox. bonecp. PoolWatchThread ] - Error in trying to obtain a connection. Retrying in 7000ms jdbc.exceptions .jdbc4. MySQLNonTransie ntConnectionExc eption: Data source rejected establishment of connection, message from server: "Too many connections"
com.mysql.
please advise me If I have apply this patch, my problem goes away.