iBatis: SQLNestedException:Cannot get a connection, pool error Timeout waiting for idle object
By admin on Mar 24, 2009 in Java, Programming
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?
Sorry, comments for this entry are closed at this time.