起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3620|回复: 1

[处理中3] 数据刷新失败

[复制链接]

156

主题

494

帖子

881

积分

高级会员

Rank: 4

积分
881
QQ
发表于 2020-12-18 16:08:10 | 显示全部楼层 |阅读模式
有时候进入页面会报错,刷新数据失败,但是再进来就好了,报的错貌似是数据库链接断开,怎么能避免这个错误,下面时报错详细信息,
刷新数据失败! ,
执行KSQL出错, KSQL: SELECT EA_GZD.* FROM EA_GZD EA_GZD ORDER BY fCJSJ ASC LIMIT 0, 5
--> sql: SELECT EA_GZD.fID AS EA_GZD, EA_GZD.FCJR AS fCJR, EA_GZD.FCJRBM AS fCJRBM, EA_GZD.FCJSJ AS fCJSJ, EA_GZD.FCLFS AS fCLFS, EA_GZD.FDQCLR AS fDQCLR, EA_GZD.FDQCLRBH AS fDQCLRBH, EA_GZD.FDQCLZT AS fDQCLZT, EA_GZD.FDQDZBQ AS fDQDZBQ, EA_GZD.FFGDH AS fFGDH, EA_GZD.FFID AS fFID, EA_GZD.FGDDZBQ AS fGDDZBQ, EA_GZD.FGDH AS fGDH, EA_GZD.FGDJJCD AS fGDJJCD, EA_GZD.FGDJSFZR AS fGDJSFZR, EA_GZD.FGDJSGB AS fGDJSGB, EA_GZD.FGDLX AS fGDLX, EA_GZD.FGDLY AS fGDLY, EA_GZD.FGDMS AS fGDMS, EA_GZD.FGDZT AS fGDZT, EA_GZD.FGLZCBM AS fGLZCBM, EA_GZD.FJHWCSJ AS fJHWCSJ, EA_GZD.FJS AS fJS, EA_GZD.FSHR AS fSHR, EA_GZD.FSHRBM AS fSHRBM, EA_GZD.FSHSJ AS fSHSJ, EA_GZD.FSJLY AS fSJLY, EA_GZD.FSJWCSJ AS fSJWCSJ, EA_GZD.VERSION AS version FROM EA_GZD EA_GZD ORDER BY fCJSJ ASC
--> binds: []
编码:JUSTEP150210
隐藏详细
java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.justep.system.action.Engine.invokeActions(Native Method) at com.justep.system.action.Engine.invokeActions(Unknown Source) at com.justep.business.server.BusinessServer.doAction(Unknown Source) at com.justep.business.server.BusinessServer.doExcute(Unknown Source) at com.justep.business.server.BusinessServer.excute(Unknown Source) at com.justep.business.server.BusinessServer.excute(Unknown Source) at com.justep.business.server.BusinessServerServlet.execService(Unknown Source) at com.justep.business.server.BusinessServerServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.justep.x.bs.BusinessServerServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.justep.micro.service.MicroServiceFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 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:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:745) Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT EA_GZD.* FROM EA_GZD EA_GZD ORDER BY fCJSJ ASC LIMIT 0, 5 --> sql: SELECT EA_GZD.fID AS EA_GZD, EA_GZD.FCJR AS fCJR, EA_GZD.FCJRBM AS fCJRBM, EA_GZD.FCJSJ AS fCJSJ, EA_GZD.FCLFS AS fCLFS, EA_GZD.FDQCLR AS fDQCLR, EA_GZD.FDQCLRBH AS fDQCLRBH, EA_GZD.FDQCLZT AS fDQCLZT, EA_GZD.FDQDZBQ AS fDQDZBQ, EA_GZD.FFGDH AS fFGDH, EA_GZD.FFID AS fFID, EA_GZD.FGDDZBQ AS fGDDZBQ, EA_GZD.FGDH AS fGDH, EA_GZD.FGDJJCD AS fGDJJCD, EA_GZD.FGDJSFZR AS fGDJSFZR, EA_GZD.FGDJSGB AS fGDJSGB, EA_GZD.FGDLX AS fGDLX, EA_GZD.FGDLY AS fGDLY, EA_GZD.FGDMS AS fGDMS, EA_GZD.FGDZT AS fGDZT, EA_GZD.FGLZCBM AS fGLZCBM, EA_GZD.FJHWCSJ AS fJHWCSJ, EA_GZD.FJS AS fJS, EA_GZD.FSHR AS fSHR, EA_GZD.FSHRBM AS fSHRBM, EA_GZD.FSHSJ AS fSHSJ, EA_GZD.FSJLY AS fSJLY, EA_GZD.FSJWCSJ AS fSJWCSJ, EA_GZD.VERSION AS version FROM EA_GZD EA_GZD ORDER BY fCJSJ ASC --> binds: [] at com.justep.exception.BusinessException.create(Unknown Source) at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source) at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source) at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source) at com.justep.system.data.BizData.query(Unknown Source) at BizProcedure.query(BizProcedure.java:12) ... 29 more Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: SELECT EA_GZD.fID AS EA_GZD, EA_GZD.FCJR AS fCJR, EA_GZD.FCJRBM AS fCJRBM, EA_GZD.FCJSJ AS fCJSJ, EA_GZD.FCLFS AS fCLFS, EA_GZD.FDQCLR AS fDQCLR, EA_GZD.FDQCLRBH AS fDQCLRBH, EA_GZD.FDQCLZT AS fDQCLZT, EA_GZD.FDQDZBQ AS fDQDZBQ, EA_GZD.FFGDH AS fFGDH, EA_GZD.FFID AS fFID, EA_GZD.FGDDZBQ AS fGDDZBQ, EA_GZD.FGDH AS fGDH, EA_GZD.FGDJJCD AS fGDJJCD, EA_GZD.FGDJSFZR AS fGDJSFZR, EA_GZD.FGDJSGB AS fGDJSGB, EA_GZD.FGDLX AS fGDLX, EA_GZD.FGDLY AS fGDLY, EA_GZD.FGDMS AS fGDMS, EA_GZD.FGDZT AS fGDZT, EA_GZD.FGLZCBM AS fGLZCBM, EA_GZD.FJHWCSJ AS fJHWCSJ, EA_GZD.FJS AS fJS, EA_GZD.FSHR AS fSHR, EA_GZD.FSHRBM AS fSHRBM, EA_GZD.FSHSJ AS fSHSJ, EA_GZD.FSJLY AS fSJLY, EA_GZD.FSJWCSJ AS fSJWCSJ, EA_GZD.VERSION AS version FROM EA_GZD EA_GZD ORDER BY fCJSJ ASC, binds: []出错 at com.justep.exception.BusinessException.create(Unknown Source) at com.justep.system.ksql.KSQLUtils.execSqlSelect(Unknown Source) ... 34 more Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 5,999,963 milliseconds ago. The last packet sent successfully to the server was 18,901 milliseconds ago. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at com.mysql.jdbc.Util.handleNewInstance(Util.java:400) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1038) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3434) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3334) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3774) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1901) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2002) at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) ... 35 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:100) at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:143) at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:173) at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2923) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3344) ... 44 more

数据刷新.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2020-12-18 16:48:47 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-24 23:05 , Processed in 0.055153 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表