User 511751460d
03-04-2012 08:21:12
Dears:
My ijc5.9 always show this error.
java.util.NoSuchElementException: Timeout waiting for idle object
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1144)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
Caused: org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114)
at com.im.commons.db.datasource.BaseDataSource.doGetConnection(BaseDataSource.java:361)
at com.im.commons.db.datasource.BaseDataSource.getConnectionFromDriverManager(BaseDataSource.java:475)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
Caused: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:572)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:614)
at com.im.df.impl.db.dao.DerbyDataRetrievingWorker.computeTask(DerbyDataRetrievingWorker.java:107)
at com.im.df.impl.db.dao.ResultsBuilder.execute(ResultsBuilder.java:144)
at com.im.df.impl.db.dao.DFDaoSupport.getData(DFDaoSupport.java:121)
at com.im.df.impl.db.dao.DFDaoWrapper.getData(DFDaoWrapper.java:89)
at com.im.df.impl.db.EDPCache.getData(EDPCache.java:178)
at com.im.df.impl.db.EDPCache._fetchValues(EDPCache.java:135)
at com.im.df.impl.db.EDPCache.fetchValues(EDPCache.java:78)
at com.im.df.impl.db.DBEntityDataProviderImpl.getData(DBEntityDataProviderImpl.java:227)
at com.im.df.impl.db.ResultSetImpl$VS.getData(ResultSetImpl.java:766)
at com.im.ijc.widgets.abstractwidget.FieldHelper.getCurrentValue(FieldHelper.java:79)
at com.im.ijc.widgets.abstractwidget.AbstractSingleFieldWidget.getCurrentValue(AbstractSingleFieldWidget.java:325)
[catch] at com.im.ijc.widgets.abstractwidget.AbstractSingleFieldWidget$3.run(AbstractSingleFieldWidget.java:344)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)