java 连接池问题oracle

[2014-01-15 10:06:09 326 ERROR] [http-nio-8888-exec-9] 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.getInt(Executor.java:125)
	at com.jeedsoft.ecp.message.dao.impl.SystemMessageDaoImpl.unReadMessage(SystemMessageDaoImpl.java:23)
	at com.jeedsoft.ecp.message.dao.impl.SystemMessageDaoImpl$$EnhancerByCGLIB$$d1af72a3.CGLIB$unReadMessage$1(<generated>)
	at com.jeedsoft.ecp.message.dao.impl.SystemMessageDaoImpl$$EnhancerByCGLIB$$d1af72a3$$FastClassByCGLIB$$5d5e6a79.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.message.dao.impl.SystemMessageDaoImpl$$EnhancerByCGLIB$$d1af72a3.unReadMessage(<generated>)
	at com.jeedsoft.ecp.message.service.impl.SystemMessageServiceImpl.unReadMessage(SystemMessageServiceImpl.java:32)
	at com.jeedsoft.ecp.message.service.impl.SystemMessageServiceImpl$$EnhancerByCGLIB$$fe919f54.CGLIB$unReadMessage$3(<generated>)
	at com.jeedsoft.ecp.message.service.impl.SystemMessageServiceImpl$$EnhancerByCGLIB$$fe919f54$$FastClassByCGLIB$$881d1937.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.message.service.impl.SystemMessageServiceImpl$$EnhancerByCGLIB$$fe919f54.unReadMessage(<generated>)
	at com.jeedsoft.ecp.message.action.impl.SystemMessageActionImpl.unReadMessage(SystemMessageActionImpl.java:34)
	at com.jeedsoft.ecp.message.action.impl.SystemMessageActionImpl$$EnhancerByCGLIB$$6cced9e3.CGLIB$unReadMessage$1(<generated>)
	at com.jeedsoft.ecp.message.action.impl.SystemMessageActionImpl$$EnhancerByCGLIB$$6cced9e3$$FastClassByCGLIB$$4e625840.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.message.action.impl.SystemMessageActionImpl$$EnhancerByCGLIB$$6cced9e3.unReadMessage(<generated>)
	at sun.reflect.GeneratedMethodAccessor115.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: Failed to grow the connection pool
	at com.atomikos.jdbc.AtomikosSQLException.throwAtomikosSQLException(AtomikosSQLException.java:44)
	at com.atomikos.jdbc.AbstractDataSourceBean.throwAtomikosSQLException(AbstractDataSourceBean.java:88)
	at com.atomikos.jdbc.AbstractDataSourceBean.getConnection(AbstractDataSourceBean.java:324)
	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
Caused by: com.atomikos.datasource.pool.CreateConnectionException: Could not create JDBC connection
	at com.atomikos.jdbc.nonxa.AtomikosNonXAConnectionFactory.createPooledConnection(AtomikosNonXAConnectionFactory.java:128)
	at com.atomikos.datasource.pool.ConnectionPool.growPool(ConnectionPool.java:190)
	at com.atomikos.datasource.pool.ConnectionPool.borrowConnection(ConnectionPool.java:143)
	at com.atomikos.jdbc.AbstractDataSourceBean.getConnection(AbstractDataSourceBean.java:321)
	... 65 more
Caused by: java.sql.SQLException: IO 错误: The Network Adapter could not establish the connection
	at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:458)
	at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
	at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
	at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
	at com.atomikos.jdbc.nonxa.AtomikosNonXAConnectionFactory.getConnection(AtomikosNonXAConnectionFactory.java:117)
	at com.atomikos.jdbc.nonxa.AtomikosNonXAConnectionFactory.createPooledConnection(AtomikosNonXAConnectionFactory.java:125)
	... 68 more
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
	at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:392)
	at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:434)
	at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:687)
	at oracle.net.ns.NSProtocol.connect(NSProtocol.java:247)
	at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1102)
	at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:320)
	... 74 more
Caused by: java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:150)
	at oracle.net.nt.ConnOption.connect(ConnOption.java:133)
	at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:370)
	... 79 more
[2014-01-15 10:06:09 326 ERROR] [http-nio-8888-exec-38] com.jeedsoft.ecp.application.action.DataServlet - Unexpected Exception
参与评论 您还未登录,请先 登录 后发表或查看评论

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

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

打赏作者

sxhong

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

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

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

打赏作者

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

抵扣说明:

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

余额充值