MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » 网站连接池已满!打不开了!帮帮小弟我啊

网站连接池已满!打不开了!帮帮小弟我啊

www.MyException.Cn  网友分享于:2013-12-30  浏览:37次
网站连接池已满!打不开了!帮帮我啊!
我不知道是hibernate的涟接池满了还是JDBC的连接池满了,还有这个Session   already   invalidated上次出现了这次又来了,
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   getAttribute:   Session   already   invalidated
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   getAttribute:   Session   already   invalidated
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   getAttribute:   Session   already   invalidated
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   getAttribute:   Session   already   invalidated
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   getAttribute:   Session   already   invalidated
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -  


INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   getAttribute:   Session   already   invalidated
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -  
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   Cannot   get   a   connection,   pool   exhausted
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -  
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -  
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   Cannot   get   a   connection,   pool   exhausted
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -  
INFO   -   org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:647)   -   Cannot   get   a   connection,   pool   exhausted

这个hibernate的c3p0配置:
<property   name= "hibernate.c3p0.max_size "> 3000 </property>

<property   name= "hibernate.c3p0.min_size "> 5 </property>

<property   name= "hibernate.c3p0.timeout "> 300 </property>

<property   name= "hibernate.c3p0.max_statements "> 100 </property>

<property   name= "hibernate.c3p0.idle_test_period "> 120 </property>

<property   name= "hibernate.c3p0.acquire_increment "> 50 </property>
我现在没分了,只有20分!请求大家帮帮我啊!

------解决方案--------------------
没释放

文章评论

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