Subject | IllegalStateException (JBoss, Timeout) |
---|---|
Author | tdtappe |
Post date | 2009-04-30T11:45:40Z |
It seems I run into timeout problems with JBoss and pooled firebird connection. But as I am pretty new to JBoss, Firebird and Java, I haven't got a clue what to do about it.
In case of the error below I have to restart JBoss to get rid of the problem. The problem then re-arises after a few minutes (of inactivity?).
Any idea?
--Heiko
...
...
Caused by: java.lang.IllegalStateException: Cannot execute desired operation because pooled connection has invalid state.
at org.firebirdsql.pool.AbstractPingablePooledConnection.checkValidity(AbstractPingablePooledConnection.java:176)
at org.firebirdsql.pool.AbstractPingablePooledConnection.internalClose(AbstractPingablePooledConnection.java:285)
at org.firebirdsql.pool.AbstractPingablePooledConnection.deallocate(AbstractPingablePooledConnection.java:302)
at org.firebirdsql.pool.PooledConnectionQueue.destroyConnection(PooledConnectionQueue.java:252)
at org.firebirdsql.pool.AbstractConnectionPool.getPooledConnection(AbstractConnectionPool.java:254)
at org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(AbstractFBConnectionPoolDataSource.java:359)
at org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(AbstractFBConnectionPoolDataSource.java:397)
at org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getXAConnection(AbstractFBConnectionPoolDataSource.java:431)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:449)
... 41 more
In case of the error below I have to restart JBoss to get rid of the problem. The problem then re-arises after a few minutes (of inactivity?).
Any idea?
--Heiko
...
...
Caused by: java.lang.IllegalStateException: Cannot execute desired operation because pooled connection has invalid state.
at org.firebirdsql.pool.AbstractPingablePooledConnection.checkValidity(AbstractPingablePooledConnection.java:176)
at org.firebirdsql.pool.AbstractPingablePooledConnection.internalClose(AbstractPingablePooledConnection.java:285)
at org.firebirdsql.pool.AbstractPingablePooledConnection.deallocate(AbstractPingablePooledConnection.java:302)
at org.firebirdsql.pool.PooledConnectionQueue.destroyConnection(PooledConnectionQueue.java:252)
at org.firebirdsql.pool.AbstractConnectionPool.getPooledConnection(AbstractConnectionPool.java:254)
at org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(AbstractFBConnectionPoolDataSource.java:359)
at org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getPooledConnection(AbstractFBConnectionPoolDataSource.java:397)
at org.firebirdsql.pool.AbstractFBConnectionPoolDataSource.getXAConnection(AbstractFBConnectionPoolDataSource.java:431)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:449)
... 41 more