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

QQ登录

只需一步,快速开始

查看: 2986|回复: 1

[处理中] 页面报错

[复制链接]

432

主题

1943

帖子

2630

积分

金牌会员

Rank: 6Rank: 6

积分
2630
QQ
发表于 2017-2-14 17:30:43 | 显示全部楼层 |阅读模式
如图所示,页面时不时的就会报这个错误。有时候重新刷新一下,重新登录可能就好了。


com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT St_glcxx.*  FROM St_glcxx St_glcxx WHERE (St_glcxx.SCBS  = 0) LIMIT 0, -1
--> sql: SELECT  St_glcxx.BZ AS BZ, St_glcxx.DLSJ AS DLSJ, St_glcxx.DLZ AS DLZ, St_glcxx.GLCBH AS GLCBH, St_glcxx.GLCDD AS GLCDD, St_glcxx.GLCGK AS GLCGK, St_glcxx.GLCLXDH AS GLCLXDH, St_glcxx.GLCMC AS GLCMC, St_glcxx.GXSJ AS GXSJ, St_glcxx.GXZ AS GXZ, St_glcxx.SCBS AS SCBS, St_glcxx.fID AS St_glcxx, St_glcxx.VERSION AS version FROM st_glcxx St_glcxx  WHERE St_glcxx.SCBS = ?
--> binds: [0]
        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)
        ... 26 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: SELECT  St_glcxx.BZ AS BZ, St_glcxx.DLSJ AS DLSJ, St_glcxx.DLZ AS DLZ, St_glcxx.GLCBH AS GLCBH, St_glcxx.GLCDD AS GLCDD, St_glcxx.GLCGK AS GLCGK, St_glcxx.GLCLXDH AS GLCLXDH, St_glcxx.GLCMC AS GLCMC, St_glcxx.GXSJ AS GXSJ, St_glcxx.GXZ AS GXZ, St_glcxx.SCBS AS SCBS, St_glcxx.fID AS St_glcxx, St_glcxx.VERSION AS version FROM st_glcxx St_glcxx  WHERE St_glcxx.SCBS = ?, binds: [0]出错
        at com.justep.exception.BusinessException.create(Unknown Source)
        at com.justep.system.ksql.KSQLUtils.execSqlSelect(Unknown Source)
        ... 31 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 102,146,313 milliseconds ago.  The last packet sent successfully to the server was 102,152,375 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
        at sun.reflect.GeneratedConstructorAccessor123.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:981)
        at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3652)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2460)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2625)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2551)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1962)
        at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
        at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
        ... 32 more
Caused by: java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3634)
        ... 39 more

QQ错误截图.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35913
发表于 2017-2-15 08:53:16 | 显示全部楼层
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 102,146,313 milliseconds ago.  The last packet sent successfully to the server was 102,152,375 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.

这个是mysql的错误
http://docs.wex5.com/bex5-deploy-question-list-4011/
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-20 15:33 , Processed in 0.083064 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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