i have configured the BoneCp inside my quartz scheduler with the following parameters
My quartz is configured with 20 threads. when starting, bonecp gives warning like
"[WorkerThread-15] WARN com.jolbox.bonecp.CachedConnectionStrategy.stealExistingAllocations.154 - Cached strategy chosen, but more threads are requesting a connection than are configured. Switching permanently to default strategy."
is there anything i can do with the configuration to use CachedConnectionStrategy instead of DEFAULT?
while executing the jobs, i got NullPointerException for setting the autocommit property after getting the connection from pool.
Here is the code to get connection from BoneCp
public Connection getConnection(boolean autoCommit)
Connection con = connectionPool.getConnection();