Subject | Could not obtain connection during blocking timeout |
---|---|
Author | Leonardo Cervo |
Post date | 2006-03-06T18:55:28Z |
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.
[Non-text portions of this message have been removed]
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.
[Non-text portions of this message have been removed]