日期:2014-05-17 浏览次数:20818 次
23:02:28,445 ERROR JDBCTransaction:67 - JDBC begin failed com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 31 ms ago. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3009) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2895) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3438) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2548) at com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:4916) 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:101) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy26.findUserByUserNameAndPassword(Unknown Source) at com.lenovo.mfgot.action.login.LoginAction.execute(LoginAction.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
推荐阅读更多>
- 继续问多线程情况下的数据库操作的线程安全性有关问题
- Java面试过程中会遇到的有关问题
- 小弟我以前写了一个Java SE的程序,现在想把它转化成android 程序,不知道下面的import怎么写
- 如何给JMenu添加图片
- 编码转换解决方案
- ssh项目唯其如此运行几次,就不能再运行了 又不报错
- SQL server 数据库也中病毒吗?该怎么处理
- 优化myEclipse 启动速度,为什么小弟我的还是那么慢呢
- java sql语句不执行 但在查询编辑器中可以查出来解决思路
- J2me - IllegalArgumentException
- 所有分都给你,怎样作迅雷软件那样批量下载?该怎么处理
- 怎的可以让JTextField上怎样实现TextListener()里的textValueChanged(TextEvent e)方法
- 怎么解决servlet中的中文显示有关问题
- 如何响应键盘回车消息
- Illegal operation on empty result set.该怎么处理
- 使用poi 读取excel文件数据解决方案
- 问关闭窗口时怎样用JSP脚本把session清空?该怎么处理
- java循环编程解决方法
- jsp大侠看过来! 急该怎么解决
- 关于Java构造方法为private,该如何处理