MyException - 我的异常网
当前位置:我的异常网» J2EE » org.springframework.jdbc.CannotGetJdbcConnection

org.springframework.jdbc.CannotGetJdbcConnectionException: Could

www.MyException.Cn  网友分享于:2013-11-11  浏览:3923次
SPRING2.0+ow2-jotm-dist-2.2.1 经常找不获取不到数据源连接但是刷新一下就好了
报错信息:


java.lang.NullPointerException
at org.enhydra.jdbc.pool.GenericPool.getFromPool(GenericPool.java:200)
at org.enhydra.jdbc.pool.GenericPool.checkOut(GenericPool.java:351)
at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:194)
at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:164)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)


org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection exception: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection no connection available java.lang.NullPointerException
Caused by: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection exception: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection no connection available java.lang.NullPointerException
at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:213)


但是刷新一下就好了。请问是不是版本的问题啊


------解决方案--------------------
帮你顶起,我也遇到这问题了!你解决了吗?
------解决方案--------------------
我急需解决这个问题!如果你解决了情给我发个邮件可以吗?zb123159@163.com十分感谢!

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有