java.util.NoSuchElementException: Timeout waiting for idle object

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The maximum number of connections (8) for the connection pool have been exhauste

    Oracle Community | 1 decade ago | 3004
    java.util.NoSuchElementException: Timeout waiting for idle object

    Root Cause Analysis

    1. java.util.NoSuchElementException

      Timeout waiting for idle object

      at com.solarmetric.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject()
    2. com.solarmetric.apache
      GenericKeyedObjectPool.borrowObject
      1. com.solarmetric.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:770)
      1 frame
    3. com.solarmetric.jdbc
      DelegatingDataSource.getConnection
      1. com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:262)
      2. com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:257)
      3. com.solarmetric.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:131)
      4. com.solarmetric.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:81)
      5. com.solarmetric.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:131)
      5 frames
    4. kodo.jdbc.schema
      LazySchemaFactory.findTable
      1. kodo.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:329)
      2. kodo.jdbc.schema.LazySchemaFactory.findTable(LazySchemaFactory.java:129)
      2 frames
    5. kodo.jdbc.meta
      MappingRepository.getMetaData
      1. kodo.jdbc.meta.BaseClassMapping.fromMappingInfo(BaseClassMapping.java:168)
      2. kodo.jdbc.meta.RuntimeMappingProvider.getMapping(RuntimeMappingProvider.java:59)
      3. kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:393)
      4. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:348)
      5. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177)
      6. kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:165)
      6 frames
    6. kodo.runtime
      PersistenceManagerImpl.makePersistent
      1. kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2423)
      2. kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2375)
      2 frames