at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1913)异常_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2687 | 回复: 0   主题: at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1913)异常        下一篇 
wayne
注册用户
等级:中校
经验:1690
发帖:221
精华:0
注册:2011-7-21
状态:离线
发送短消息息给wayne 加好友    发送短消息息给wayne 发消息
发表于: IP:您无权察看 2014-12-18 15:34:32 | [全部帖] [楼主帖] 楼主

at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1913)错误

org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionException: JDBC begin failed:

Caused by: org.hibernate.TransactionException: JDBC begin failed:

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

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

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

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

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

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

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

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy1.find(Unknown Source)

at ookj.ui.home.LoginScreen.AreYou(LoginScreen.java:80)

at ookj.ui.home.LoginScreen.actionPerformed(LoginScreen.java:134)

at nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135)

at nextapp.echo2.app.button.AbstractButton$1.actionPerformed(AbstractButton.java:100)

at nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70)

at nextapp.echo2.app.button.DefaultButtonModel.doAction(DefaultButtonModel.java:58)

at nextapp.echo2.app.button.AbstractButton.doAction(AbstractButton.java:121)

at nextapp.echo2.app.button.AbstractButton.processInput(AbstractButton.java:506)

at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116)

at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89)

at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472)

at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279)

at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273)

at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)

at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)

at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)

at java.lang.Thread.run(Thread.java:619)

Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.io.EOFException

STACKTRACE:

java.io.EOFException

at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1913)

at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2304)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)

at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)

at com.mysql.jdbc.Connection.setAutoCommit(Connection.java:5215)

at org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:331)

at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setAutoCommit(PoolingDataSource.java:317)

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

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

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

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

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

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

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

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy1.find(Unknown Source)

at ookj.ui.home.LoginScreen.AreYou(LoginScreen.java:80)

at ookj.ui.home.LoginScreen.actionPerformed(LoginScreen.java:134)

at nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135)

at nextapp.echo2.app.button.AbstractButton$1.actionPerformed(AbstractButton.java:100)

at nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70)

at nextapp.echo2.app.button.DefaultButtonModel.doAction(DefaultButtonModel.java:58)

at nextapp.echo2.app.button.AbstractButton.doAction(AbstractButton.java:121)

at nextapp.echo2.app.button.AbstractButton.processInput(AbstractButton.java:506)

at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116)

at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89)

at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472)

at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279)

at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273)

at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)

at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)

at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)

at java.lang.Thread.run(Thread.java:619)

** END NESTED EXCEPTION **

Last packet sent to the server was 0 ms ago.

at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2515)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)

at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)

at com.mysql.jdbc.Connection.setAutoCommit(Connection.java:5215)

at org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:331)

--转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论