1March 24, 2016 5:16:33Afternoon Org.apache.commons.dbcp2.BasicDataSource Onswallowexception2 WARNING: An internal object pool swallowed an Exception.3Org.apache.commons.dbcp2.LifetimeExceededException:The lifetime of the connection [+] milliseconds exceeds the maximum permitted value of [ten] milliseconds4At Org.apache.commons.dbcp2.PoolableConnectionFactory.validateLifetime (poolableconnectionfactory.java:424)5At Org.apache.commons.dbcp2.PoolableConnectionFactory.passivateObject (poolableconnectionfactory.java:364)6At Org.apache.commons.pool2.impl.GenericObjectPool.returnObject (genericobjectpool.java:581)7At Org.apache.commons.dbcp2.PoolableConnection.close (poolableconnection.java:206)8At Org.apache.commons.dbcp2.DelegatingConnection.closeInternal (delegatingconnection.java:235)9At Org.apache.commons.dbcp2.DelegatingConnection.close (delegatingconnection.java:218)TenAt Org.apache.commons.dbcp2.poolingdatasource$poolguardconnectionwrapper.close (PoolingDataSource.java:244) OneAt Org.apache.commons.dbutils.DbUtils.close (dbutils.java:60) AAt Org.apache.commons.dbutils.AbstractQueryRunner.close (abstractqueryrunner.java:438) -At Org.apache.commons.dbutils.QueryRunner.query (queryrunner.java:359) -At Org.apache.commons.dbutils.QueryRunner.query (queryrunner.java:307) theAt Com.starunion.java.fsccserver.dao.DbUtilsTemplate.getCount (dbutilstemplate.java:188) -At Com.starunion.java.fsccserver.dao.fs.DaoCdrInfo.getSessionCount (daocdrinfo.java:33) -At Com.starunion.java.fsccserver.service.client.ProcClientReqSql.getCdrSessionCount (procclientreqsql.java:45) -At Com.starunion.java.fsccserver.service.client.ClientReqMsgLogicService.procClientRequest ( clientreqmsglogicservice.java:114) +At Com.starunion.java.fsccserver.thread.client.SocketClientTcpThread.run (socketclienttcpthread.java:99)
In combination with my actual environment, I speculate on the cause of this throw:
is when the database establishes the link when the authentication time expires.
But does not affect the return of the query results, so ... Let's put the question in the first place.
Or who can help me answer it?
Dbcp2 throws Org.apache.commons.dbcp2.LifetimeExceededException