RSS Feed for This PostCurrent Article

iBatis: SQLNestedException:Cannot get a connection, pool error Timeout waiting for idle object

When this happened, and you are sure that the connection pool is actually enough to handle all the transactions, then most probably that there is a connection leakage lying within your application. E.g. the connection is not closed properly.

One example in iBATIS is that you start a transaction, but does not end it.

sqlMapClient.startTransaction();
 
// other codes here
 
sqlMapClient.commitTransaction();
 
// No endTransaction?


Trackback URL


Sorry, comments for this entry are closed at this time.