Could not create a validated object, cause: ValidateObject failed
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rohinitn
Posted On:   Wednesday, July 23, 2014 10:56 AM

We have a application connecting to oracle database running fine in  tomcat  server. When we add a third party library to the env, we see that the application is unable to get a connection from pool. It fails with this exception :  Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Could not create a validated object, cause: ValidateObject failed  at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:104)  at com.approuter.module.database.protocol.ConnectionManager.getConnection(ConnectionManager.java:154)  ... 26 more  Caused by:  java.util.NoSuchElementException    More>>

We have a application connecting to oracle database running fine in  tomcat  server. When we add a third party library to the env, we see that the application is unable to get a connection from pool. It fails with this exception : 


Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Could not create a validated object, cause: ValidateObject failed 
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:104) 
at com.approuter.module.database.protocol.ConnectionManager.getConnection(ConnectionManager.java:154) 
... 26 more 
Caused by:  java.util.NoSuchElementException : Could not create a validated object, cause: ValidateObject failed 
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1008) 
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96) 
... 27 more 

The validate query works fine on the oracle database. Any idea on we are seeing ValidateObject failed ?

   <<Less
About | Sitemap | Contact