Subject Could not obtain connection during blocking timeout
Author Leonardo Cervo
Hi,

I'm having this message in a client deployed application. The original
exception is not showing in the stack.
After investigating jaybird source I found in
org.firebirdsql.pool.PooledConnectionQueue.take():

if (!keepBlocking(startTime)) {
SQLException ex = new SQLException(
"Could not obtain connection during " +
"blocking timeout (" + blockingTimeout + " ms)");


if (pendingExceptions != null)
ex.setNextException(ex);
throw ex;
};


Shouldn't it be:

if (pendingExceptions != null)
ex.setNextException(pendingExceptions);

Or I'm missing something?

Thanks,
Leonardo.