Mantis - Resin
Viewing Issue Advanced Details
6099 minor always 09-26-17 13:13 10-11-17 13:42
wileysaw  
ferg  
normal  
closed 4.0.37  
fixed  
none    
none 4.0.55  
0006099: Exception: Can't allocate connection because the connection pool is closed
Connection successful on next attempt from the pool after throwing Exception:

017-09-17 20:03:42,120 ERROR [2828:4637] [ConnectionPoolObject.getOracleConnection(363)] - Exception : Can't allocate connection because the connection pool is closed
java.lang.IllegalStateException: Unexpected non-matching PoolItem found for ManagedConnectionImpl[jdbc/secondary-embedded.d0.6830]
        at com.caucho.env.dbpool.ConnectionPool.allocateIdleConnection(ConnectionPool.java:941)
        at com.caucho.env.dbpool.ConnectionPool.allocatePoolConnection(ConnectionPool.java:839)
        at com.caucho.env.dbpool.ConnectionPool.allocateConnection(ConnectionPool.java:740)
        at com.caucho.env.dbpool.ConnectionPool.allocateConnection(ConnectionPool.java:714)
        at com.caucho.sql.UserDataSource.getConnection(UserDataSource.java:75)
        at com.caucho.sql.DBPool.getConnection(DBPool.java:808)
        at com.test.demo.database.ConnectionPoolObject.getOracleConnection(ConnectionPoolObject.java:360)
<database>
          <jndi-name>jdbc/oracle</jndi-name>
          <driver>
              <type>oracle.jdbc.pool.OracleConnectionPoolDataSource</type>
              <url>jdbc:oracle:thin:@127.0.0.1:1521:live</url>
              <user>TEST</user>
              <password>TEST</password>
              <loginTimeout>10</loginTimeout>
          </driver>
          <prepared-statement-cache-size>8</prepared-statement-cache-size>
          <max-connections>1000</max-connections>
          <max-idle-time>3s</max-idle-time>
          <max-active-time>1200s</max-active-time>
 </database>

There are no notes attached to this issue.