连接池问题

[2014-01-27 13:40:53 112 ERROR] [http-nio-8888-exec-133] com.jeedsoft.ecp.application.action.DataServlet - Unexpected Exception
com.jeedsoft.common.basic.exception.SystemException: 获取数据库连接失败。
	at com.jeedsoft.common.advanced.transaction.atomikos.AbstractAtomikosTransactionProvider.getConnection(AbstractAtomikosTransactionProvider.java:27)
	at com.jeedsoft.common.advanced.db.ConnectionHome.getConnectionWithIsolationLevel(ConnectionHome.java:106)
	at com.jeedsoft.common.advanced.db.ConnectionHome.getConnection(ConnectionHome.java:87)
	at com.jeedsoft.common.advanced.db.Executor.getValue(Executor.java:71)
	at com.jeedsoft.common.advanced.db.Executor.getObject(Executor.java:180)
	at com.jeedsoft.ecp.user.dao.impl.UserDaoImpl.optItem(UserDaoImpl.java:29)
	at com.jeedsoft.ecp.user.dao.impl.UserDaoImpl$$EnhancerByCGLIB$$a95994b.CGLIB$optItem$4(<generated>)
	at com.jeedsoft.ecp.user.dao.impl.UserDaoImpl$$EnhancerByCGLIB$$a95994b$$FastClassByCGLIB$$b3964b84.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:44)
	at com.jeedsoft.ecp.registry.Registry$TimeInterceptor.invoke(Registry.java:351)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:47)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInterceptor.intercept(UpwardInterceptor.java:20)
	at com.jeedsoft.ecp.user.dao.impl.UserDaoImpl$$EnhancerByCGLIB$$a95994b.optItem(<generated>)
	at com.jeedsoft.ecp.user.service.impl.OnlineUserServiceImpl.login(OnlineUserServiceImpl.java:49)
	at com.jeedsoft.ecp.user.service.impl.OnlineUserServiceImpl$$EnhancerByCGLIB$$9fe61b42.CGLIB$login$1(<generated>)
	at com.jeedsoft.ecp.user.service.impl.OnlineUserServiceImpl$$EnhancerByCGLIB$$9fe61b42$$FastClassByCGLIB$$497cf3c7.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:44)
	at com.jeedsoft.common.advanced.transaction.annotation.TransactionInterceptor.invoke(TransactionInterceptor.java:41)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:47)
	at com.jeedsoft.ecp.registry.Registry$TimeInterceptor.invoke(Registry.java:351)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:47)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInterceptor.intercept(UpwardInterceptor.java:20)
	at com.jeedsoft.ecp.user.service.impl.OnlineUserServiceImpl$$EnhancerByCGLIB$$9fe61b42.login(<generated>)
	at com.jeedsoft.ecp.user.action.impl.OnlineUserActionImpl.login(OnlineUserActionImpl.java:30)
	at com.jeedsoft.ecp.user.action.impl.OnlineUserActionImpl$$EnhancerByCGLIB$$908bd371.CGLIB$login$0(<generated>)
	at com.jeedsoft.ecp.user.action.impl.OnlineUserActionImpl$$EnhancerByCGLIB$$908bd371$$FastClassByCGLIB$$c776cb9c.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:44)
	at com.jeedsoft.ecp.registry.Registry$TimeInterceptor.invoke(Registry.java:351)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:47)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInterceptor.intercept(UpwardInterceptor.java:20)
	at com.jeedsoft.ecp.user.action.impl.OnlineUserActionImpl$$EnhancerByCGLIB$$908bd371.login(<generated>)
	at sun.reflect.GeneratedMethodAccessor1069.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.jeedsoft.common.basic.util.ReflectUtil.invoke(ReflectUtil.java:202)
	at com.jeedsoft.ecp.application.action.DataServlet.doPost(DataServlet.java:42)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.jeedsoft.ecp.application.ValidationFilter.doFilter(ValidationFilter.java:91)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.jeedsoft.ecp.application.ThreadFilter.doFilter(ThreadFilter.java:26)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1600)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.atomikos.jdbc.AtomikosSQLException: Connection pool exhausted - try increasing 'maxPoolSize' and/or 'borrowConnectionTimeout' on the DataSourceBean.
	at com.atomikos.jdbc.AtomikosSQLException.throwAtomikosSQLException(AtomikosSQLException.java:44)
	at com.atomikos.jdbc.AbstractDataSourceBean.throwAtomikosSQLException(AbstractDataSourceBean.java:88)
	at com.atomikos.jdbc.AbstractDataSourceBean.throwAtomikosSQLException(AbstractDataSourceBean.java:83)
	at com.atomikos.jdbc.AbstractDataSourceBean.getConnection(AbstractDataSourceBean.java:326)
	at com.atomikos.jdbc.nonxa.AtomikosNonXADataSourceBean.getConnection(AtomikosNonXADataSourceBean.java:205)
	at com.atomikos.jdbc.AbstractDataSourceBean.getConnection(AbstractDataSourceBean.java:373)
	at com.jeedsoft.common.advanced.transaction.atomikos.AbstractAtomikosTransactionProvider.getConnection(AbstractAtomikosTransactionProvider.java:25)
	... 62 more
[2014-01-27 13:41:23 127 ERROR] [http-nio-8888-exec-132] com.jeedsoft.ecp.application.action.DataServlet - Unexpected Exception
com.jeedsoft.common.basic.exception.SystemException: 获取数据库连接失败。
	at com.jeedsoft.common.advanced.transaction.atomikos.AbstractAtomikosTransactionProvider.getConnection(AbstractAtomikosTransactionProvider.java:27)
	at com.jeedsoft.common.advanced.db.ConnectionHome.getConnectionWithIsolationLevel(ConnectionHome.java:106)
	at com.jeedsoft.common.advanced.db.ConnectionHome.getConnection(ConnectionHome.java:87)
	at com.jeedsoft.common.advanced.db.Executor.getValue(Executor.java:71)
	at com.jeedsoft.common.advanced.db.Executor.getObject(Executor.java:180)
	at com.jeedsoft.ecp.user.dao.impl.UserDaoImpl.optItem(UserDaoImpl.java:29)
	at com.jeedsoft.ecp.user.dao.impl.UserDaoImpl$$EnhancerByCGLIB$$a95994b.CGLIB$optItem$4(<generated>)
	at com.jeedsoft.ecp.user.dao.impl.UserDaoImpl$$EnhancerByCGLIB$$a95994b$$FastClassByCGLIB$$b3964b84.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:44)
	at com.jeedsoft.ecp.registry.Registry$TimeInterceptor.invoke(Registry.java:351)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:47)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInterceptor.intercept(UpwardInterceptor.java:20)
	at com.jeedsoft.ecp.user.dao.impl.UserDaoImpl$$EnhancerByCGLIB$$a95994b.optItem(<generated>)
	at com.jeedsoft.ecp.user.service.impl.OnlineUserServiceImpl.login(OnlineUserServiceImpl.java:49)
	at com.jeedsoft.ecp.user.service.impl.OnlineUserServiceImpl$$EnhancerByCGLIB$$9fe61b42.CGLIB$login$1(<generated>)
	at com.jeedsoft.ecp.user.service.impl.OnlineUserServiceImpl$$EnhancerByCGLIB$$9fe61b42$$FastClassByCGLIB$$497cf3c7.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:44)
	at com.jeedsoft.common.advanced.transaction.annotation.TransactionInterceptor.invoke(TransactionInterceptor.java:41)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:47)
	at com.jeedsoft.ecp.registry.Registry$TimeInterceptor.invoke(Registry.java:351)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:47)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInterceptor.intercept(UpwardInterceptor.java:20)
	at com.jeedsoft.ecp.user.service.impl.OnlineUserServiceImpl$$EnhancerByCGLIB$$9fe61b42.login(<generated>)
	at com.jeedsoft.ecp.user.action.impl.OnlineUserActionImpl.login(OnlineUserActionImpl.java:30)
	at com.jeedsoft.ecp.user.action.impl.OnlineUserActionImpl$$EnhancerByCGLIB$$908bd371.CGLIB$login$0(<generated>)
	at com.jeedsoft.ecp.user.action.impl.OnlineUserActionImpl$$EnhancerByCGLIB$$908bd371$$FastClassByCGLIB$$c776cb9c.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:44)
	at com.jeedsoft.ecp.registry.Registry$TimeInterceptor.invoke(Registry.java:351)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInvocation.proceed(UpwardInvocation.java:47)
	at com.jeedsoft.common.advanced.aop.cglib.UpwardInterceptor.intercept(UpwardInterceptor.java:20)
	at com.jeedsoft.ecp.user.action.impl.OnlineUserActionImpl$$EnhancerByCGLIB$$908bd371.login(<generated>)
	at sun.reflect.GeneratedMethodAccessor1069.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.jeedsoft.common.basic.util.ReflectUtil.invoke(ReflectUtil.java:202)
	at com.jeedsoft.ecp.application.action.DataServlet.doPost(DataServlet.java:42)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.jeedsoft.ecp.application.ValidationFilter.doFilter(ValidationFilter.java:91)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.jeedsoft.ecp.application.ThreadFilter.doFilter(ThreadFilter.java:26)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1600)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.atomikos.jdbc.AtomikosSQLException: Connection pool exhausted - try increasing 'maxPoolSize' and/or 'borrowConnectionTimeout' on the DataSourceBean.
	at com.atomikos.jdbc.AtomikosSQLException.throwAtomikosSQLException(AtomikosSQLException.java:44)
	at com.atomikos.jdbc.AbstractDataSourceBean.throwAtomikosSQLException(AbstractDataSourceBean.java:88)
	at com.atomikos.jdbc.AbstractDataSourceBean.throwAtomikosSQLException(AbstractDataSourceBean.java:83)
	at com.atomikos.jdbc.AbstractDataSourceBean.getConnection(AbstractDataSourceBean.java:326)
	at com.atomikos.jdbc.nonxa.AtomikosNonXADataSourceBean.getConnection(AtomikosNonXADataSourceBean.java:205)
	at com.atomikos.jdbc.AbstractDataSourceBean.getConnection(AbstractDataSourceBean.java:373)
	at com.jeedsoft.common.advanced.transaction.atomikos.AbstractAtomikosTransactionProvider.getConnection(AbstractAtomikosTransactionProvider.java:25)
	... 62 more

参与评论 您还未登录,请先 登录 后发表或查看评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页

打赏作者

sxhong

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值