Subject | Misleading sql-exception |
---|---|
Author | Carsten Schäfer |
Post date | 2005-07-20T12:30:03Z |
if password for the FBWrappingDataSource is wrong Jaybird throws the
following exception:
java.sql.SQLException: Could not obtain connection during blocking
timeout (20000 ms)
at
org.firebirdsql.pool.PooledConnectionQueue.take(PooledConnectionQueue.java:351)
at
org.firebirdsql.pool.AbstractConnectionPool.getPooledConnection(AbstractConnectionPool.java:230)
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(AbstractFBConnectionPoolDataSource.java:359)
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(AbstractFBConnectionPoolDataSource.java:379)
at
org.firebirdsql.pool.FBWrappingDataSource.getConnection(FBWrappingDataSource.java:216)
at
com.TTC_Informatik.PAULA.server.App_Server.getConnection(App_Server.java:10902)
It should be something like "username or password is wrong".
mfg
Carsten
following exception:
java.sql.SQLException: Could not obtain connection during blocking
timeout (20000 ms)
at
org.firebirdsql.pool.PooledConnectionQueue.take(PooledConnectionQueue.java:351)
at
org.firebirdsql.pool.AbstractConnectionPool.getPooledConnection(AbstractConnectionPool.java:230)
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(AbstractFBConnectionPoolDataSource.java:359)
at
org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(AbstractFBConnectionPoolDataSource.java:379)
at
org.firebirdsql.pool.FBWrappingDataSource.getConnection(FBWrappingDataSource.java:216)
at
com.TTC_Informatik.PAULA.server.App_Server.getConnection(App_Server.java:10902)
It should be something like "username or password is wrong".
mfg
Carsten