Mantis - Resin
Viewing Issue Advanced Details
3660 minor always 09-01-09 09:06 09-04-09 09:41
ferg  
ferg  
urgent  
closed 3.1.9  
fixed  
none    
none 3.1.10  
0003660: No matching PoolItem found
(rep by Shinomiya Nobuaki)


java.lang.IllegalStateException: No matching PoolItem found for com.caucho.sql.ManagedConnectionImpl@96b6a9
    at com.caucho.jca.ConnectionPool.allocateIdle(ConnectionPool.java:729)
    at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:654)
    at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:619)
    at com.caucho.jca.ConnectionPool.allocateConnection(ConnectionPool.java:516)
    at com.caucho.sql.DataSourceImpl.getConnection(DataSourceImpl.java:65)
    at com.caucho.sql.DBPool.getConnection(DBPool.java:581)
    at com.caucho.server.cluster.JdbcStore.remove(JdbcStore.java:392)
    at com.caucho.server.cluster.ClusterObject.remove(ClusterObject.java:421)
    at com.caucho.server.session.SessionImpl.invalidateImpl(SessionImpl.java:590)
    at com.caucho.server.session.SessionImpl.invalidate(SessionImpl.java:545)
    at com.caucho.server.session.SessionManager.handleAlarm(SessionManager.java:1311)
    at com.caucho.util.Alarm.handleAlarm(Alarm.java:310)
    at com.caucho.util.Alarm.run(Alarm.java:280)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
    at java.lang.Thread.run(Thread.java:534)

Notes
(0004216)
ferg   
09-04-09 09:41   
_pool and _idlePool must be synchronized together in ConnectionPool.