JAVA日志错误apache-tomcat

[122451][ERROR] 2016-08-10 08:50:24,338 method:org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:234) An attempt by a client to checkout a

Connection has timed out.
[122452]

[ERROR] 2016-08-10 08:50:24,339 method:org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:234) An attempt by a client to checkout a Connection

has timed out.
[122454][ERROR]
2016-08-10 08:50:24,341 method:com.miracle9.soft.IIIllIlIlIlIlIll(MyThread.java:224)
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate

Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection

at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:597)

at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:372)

at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:417)

at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:255)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)

at com.miracle9.soft.service.SystemConfigService$$EnhancerByCGLIB$$18918953.getSystemConfig()

at com.miracle9.soft.IIIllIlIlIlIlIll.IIIllIlIlIlIlIll.llIlIIIIlIIlIlll(MyThread.java:137)

at com.miracle9.soft.IIIllIlIlIlIlIll.IIIllIlIlIlIlIll.run(MyThread.java:79)
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection

at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)

at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)

at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)

at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)

at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)

at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160)

at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81)

at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473)

at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:556)
... 11 more

[132456][ERROR] 2016-08-10 08:50:34,343 method:org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:234) An attempt by a client to checkout a

Connection has timed out.
[132457]

[ERROR] 2016-08-10 08:50:34,344 method:org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:234) An attempt by a client to checkout a Connection

has timed out.
[132457][ERROR] 2016-

08-10 08:50:34,344 method:com.miracle9.soft.IIIllIlIlIlIlIll.IIIllIlIlIlIlIll.llIlIllIIlllIlll(MyThread.java:341)
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate

Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection

at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:597)

at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:372)

at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:417)

at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:255)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)

at com.miracle9.soft.service.PayApplyService$$EnhancerByCGLIB$$360169fe.getAllPayApply()

at com.miracle9.soft.IIIllIlIlIlIlIll.IIIllIlIlIlIlIll.llIlIllIIlllIlll(MyThread.java:259)

at com.miracle9.soft.IIIllIlIlIlIlIll.IIIllIlIlIlIlIll.run(MyThread.java:81)
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection

at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)

at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)

at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)

at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)

at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)

at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160)

at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81)

at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473)

at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:556)
... 11 more

Caused by: java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.

at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:77)

at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:687)

at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)

at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:83)

at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
... 16 more

Caused by: com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepool.BasicResourcePool@6a844c0f --

timeout at awaitAvailable()

at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1416)

at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:606)

at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:526)

at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:755)

at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:682)
... 19 more

上面是soft-error.log
这是XML文件





下面是soft-info.log
[1873739][INFO ] 2016-08-10 09:19:35,626 method:com.miracle9.soft.IIIIlIlllllIlllI.IIlllIlllllIIIIl.sessionOpened(ManageSocketHandler.java:206) 管理后台sessionOpened...
[1874614][INFO ] 2016-08-10 09:19:36,501 method:com.miracle9.soft.IIIIlIlllllIlllI.IIlllIlllllIIIIl.messageReceived(ManageSocketHandler.java:91) rev:

adminService/login_getctKey
[1874615][INFO ] 2016-08-10 09:19:36,502 method:com.miracle9.game.IIIIlIlllllIlllI.IIlllIlllllIIIIl.messageReceived(ManageSocketHandler.java:97) args:login_getEncrytKey请求参

数:HKqwAKoNR9+iIeHYO3YXF37eSW1AW1rz1hYCr/ldrlM2qwE0bkgGzoM1DA7RiHxiq8LghK4rZx2FYTxfRmRqJ=;

-




链接不上这是怎么回事的?

2个回答

报错的意思是链接超时,你的配置有问题,或者你的数据库没启动

数据库是启动了 用工具 也能连上 还有可能出现的 错误 问题吗

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
apache-tomcat
apache-tomcat ,windows版本,使用便捷,求你们多下载点呗
apache-Tomcat
为WEB开发应用的服务器,该服务器可以保持稳定高效的访问
Apache-tomcat
Tomcat 是一个轻量级应用服务器,在中小型系统和并发访问用户不是很多的场合下被普遍使用,是开发和调试JSP 程序的首选。
Java开发环境(Eclipse,mysql,apache-tomcat)
该资源内包含Eclipse安装包,jdkapi文档,mysql安装包,Navicate软件,apache-tomcat和apache-maven安装包
apache-tomcat 解压版
由于有时候自己网络不好,国外网站访问超时,这里一次将apache-tomcat-7.0.85、apache-tomcat-8.5.29、apache-tomcat-9.0.6解压版打包上传了,解压版的,有需要的可以下载
Linux下apache-tomcat
Linux环境下的apache-tomcat,直接解压就可以用
apache-tomcat 源代码
apache-tomcat源代码,里面包含了servlet、jsp等源代码
apache-tomcat源码
该文件内包含了tomcat中的servlet源代码
apache-tomcat部署
apache-tomcat集群部署说明文档
apache-tomcat 5.5.35
apache-tomcat-5.5.35
apache-tomcat - 8.0.46
omcat 是由 Apache 开发的一个 Servlet 容器,实现了对 Servlet 和 JSP 的支持,并提供了作为Web服务器的一些特有功能,如Tomcat管理和控制平台、安全域管理和Tomcat阀等,Tomcat免费服务器,版本8.0.46,需要请下载
apache-tomcat -6.0.33
apache-tomcat -6.0.33,直接解压,放入项目到webapp下,直接启动tomcat
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池