tomcat无法获取可用的数据库连接 oracle
tomcat隔两三天就提示一下:无法获取可用的数据库连接,当前连接的活动数:50空闲数:0提示后就不可以用了。。。现在都是重启下tomcat但是不能老重启啊啊啊啊啊啊求高...
tomcat隔两三天就提示一下:无法获取可用的数据库连接,当前连接的活动数:50 空闲数:0
提示后就不可以用了。。。现在都是重启下tomcat 但是不能老重启啊啊 啊啊 啊啊
求高手了!!怎么才能彻底解决。。
下面是log文件:
[WARN ] [2010-11-18 09:06] -com.deep.w.engine.core.TimeOutThread.execute(TimeOutThread.java:150)(499084265) - java.lang.NullPointerException
[ERROR] [2010-11-18 09:06] -com.deep.sys.DataSource.getConnection(DataSource.java:64)(499084265) - 无法获取可用的数据库连接,当前连接的活动数:50 空闲数:0
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:103)
at com.deep.utils.dbpool.DBCPConnectionProvider.getConnection(DBCPConnectionProvider.java:113)
at com.deep.sys.DataSource.getConnection(DataSource.java:58)
at com.deep.w.engine.core.EngineImpl.getConnection(EngineImpl.java:167)
at com.deep.w.engine.core.ActivityImpl.timeout(ActivityImpl.java:1812)
at com.deep.w.engine.core.TimeOutThread.execute(TimeOutThread.java:144)
at com.deep.utils.job.TimerQueue$TimerTaskLoop.run(TimerQueue.java:104)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.util.NoSuchElementException
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:744)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
... 7 more 展开
提示后就不可以用了。。。现在都是重启下tomcat 但是不能老重启啊啊 啊啊 啊啊
求高手了!!怎么才能彻底解决。。
下面是log文件:
[WARN ] [2010-11-18 09:06] -com.deep.w.engine.core.TimeOutThread.execute(TimeOutThread.java:150)(499084265) - java.lang.NullPointerException
[ERROR] [2010-11-18 09:06] -com.deep.sys.DataSource.getConnection(DataSource.java:64)(499084265) - 无法获取可用的数据库连接,当前连接的活动数:50 空闲数:0
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:103)
at com.deep.utils.dbpool.DBCPConnectionProvider.getConnection(DBCPConnectionProvider.java:113)
at com.deep.sys.DataSource.getConnection(DataSource.java:58)
at com.deep.w.engine.core.EngineImpl.getConnection(EngineImpl.java:167)
at com.deep.w.engine.core.ActivityImpl.timeout(ActivityImpl.java:1812)
at com.deep.w.engine.core.TimeOutThread.execute(TimeOutThread.java:144)
at com.deep.utils.job.TimerQueue$TimerTaskLoop.run(TimerQueue.java:104)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.util.NoSuchElementException
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:744)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
... 7 more 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询