Subject | Could not obtain connection during blocking timeout |
---|---|
Author | Leonardo Cervo |
Post date | 2006-03-10T18:11:01Z |
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.
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.