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

QQ登录

只需一步,快速开始

查看: 4663|回复: 2

[结贴] 文档上传报错

[复制链接]

368

主题

793

帖子

2378

积分

金牌会员

Rank: 6Rank: 6

积分
2378
QQ
发表于 2018-11-1 18:10:22 | 显示全部楼层 |阅读模式
版本: BeX5V3.5 小版本号:
数据库: 服务器操作系统: 应用服务器:
客户端操作系统: 浏览器:
2018-11-01 17:59:51 [http-8081-3] [org.outerj.daisy.ftindex.FullTextNamespaceIndexImpl] ERROR: IMPORTANT WARNING: the fulltext index directory was locked, which indicates improper shutdown of the Daisy repository server. Some index updates might not have been flushed to disk.
2018-11-01 18:05:08 [Daisy event dispatcher] [org.outerj.daisy.event.EventDispatcherImpl] ERROR: Exception in event dispatcher.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 305,972 milliseconds ago.  The last packet sent successfully to the server was 19,148 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)
        at org.outerj.daisy.event.EventDispatcherImpl$EventDispatchThread.run(Unknown Source)
Caused by: java.net.SocketException: Software caused connection abort: recv failed
        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)
        ... 10 more
2018-11-01 18:05:08 [Daisy event dispatcher] [org.outerj.daisy.event.EventDispatcherImpl] ERROR: Failed to close database connection.
java.sql.SQLException: Already closed.
        at org.apache.tomcat.dbcp.dbcp.PoolableConnection.close(PoolableConnection.java:114)
        at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:191)
        at org.outerj.daisy.event.EventDispatcherImpl$EventDispatchThread.run(Unknown Source)
2018-11-01 18:07:00 excute stream action, params:{"accept":"application/json","action":"commitAttachAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"changeLog":"{\"items\":[{\"operation_type\":\"new\",\"process\":\"/OA/doc/process/signReport/signReportProcess\",\"activity\":\"startActivity\",\"person\":\"/n1xjh3LqujPYqSugj4T.ogn/u9ZaAuLGTo1wEaANYHL.dpt/voVZzBx4YEbwN3RXBFD.pos/eE5nSsMH7M1wOBnbqJl@voVZzBx4YEbwN3RXBFD.psm\",\"person_name\":\"陈超\",\"dept_name\":\"公司领导\",\"bill_id\":\"27C888483C3C4B75B85FC502DF90873D\",\"doc_id\":\"C833769FEAE00001963D1674127E6D00\",\"version\":\"0\",\"file_id\":\"\",\"doc_version_id\":\"\",\"doc_name\":\"191_161802_43264.jpg\",\"kind\":\"image/jpeg\",\"size\":\"253921\",\"parent_id\":\"e0665138-07ea-4159-8a7a-993169438c0d\",\"doc_path\":\"/defaultDocNameSpace/5e6c1ea8-7303-4b3e-a25d-a71c95879ec1/ea8d9e6a-2370-419b-8cb9-10a83bcbbd43/365a9a91-b0ea-4bc9-8589-3e22fe289dcb/8bf73026-8db6-442c-b55f-2fa64d7e30b0/3be16f88-fd3d-48b1-8505-19c927b3dd55/ce4a0426-d45c-42f6-b0aa-e6de32ab1373/d15c261d-7445-4e5a-83e3-4e8c9d4b1c4f/e0665138-07ea-4159-8a7a-993169438c0d\",\"doc_display_path\":\"//业务附件/OA/公文管理2018/11\",\"description\":\"\",\"classification\":\"\",\"keywords\":\"\",\"finish_time\":\"\",\"serial_number\":\"\",\"doc_type\":\"attach\",\"cache_name\":\"144-DOC\",\"revision_cache_name\":\"\",\"comment_file_content\":\"\",\"link_id\":\"C833769FF9400001A76613F01F309F80\",\"access_record_id\":\"C833769FF940000154D13CB088A0CEC0\"}],\"createVersionLogs\":[],\"operate\":\"commitDoc\",\"url\":\"\",\"process\":\"/OA/doc/process/signReport/signReportProcess\",\"activity\":\"startActivity\",\"isHttps\":false}"},"process":"/SA/doc/system/systemProcess"}
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        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 SA_DocNameSpace ,SA_DocNode , SA_DocNameSpace.sDisplayName ,SA_DocNameSpace.sUrl,SA_DocNameSpace.sAccessMode,SA_DocNameSpace.sFlag,SA_DocNameSpace.version  from SA_DocNameSpace SA_DocNameSpace OPTIONAL JOIN SA_DocNode SA_DocNode on SA_DocNameSpace = SA_DocNode.sNameSpace where SA_DocNameSpace.sFlag = 1 and SA_DocNode.sFlag = 1 order by SA_DocNameSpace.sDisplayName asc
--> sql: SELECT  SA_DocNameSpace.sID, SA_DocNode.sID, SA_DocNameSpace.sDisplayName AS sDisplayName, SA_DocNameSpace.SURL AS sUrl, SA_DocNameSpace.SACCESSMODE AS sAccessMode, SA_DocNameSpace.sFlag AS sFlag, SA_DocNameSpace.version AS version FROM SA_DocNameSpace SA_DocNameSpace LEFT JOIN SA_DocNode SA_DocNode ON (SA_DocNameSpace.sID = SA_DocNode.SNAMESPACE)  AND (SA_DocNode.client_id = 'sdic')   WHERE ( (SA_DocNameSpace.sFlag = ?) AND (SA_DocNode.SFLAG = ?) ) AND (SA_DocNameSpace.client_id = 'sdic')  ORDER BY SA_DocNameSpace.sDisplayName ASC
--> binds: [1, 1]
        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.KSQL.select(Unknown Source)
        at com.justep.doc.DocDBHelper.queryNameSpace(DocDBHelper.java:361)
        at com.justep.doc.DocServerDefines.loadNameSpace(DocServerDefines.java:56)
        at com.justep.doc.DocServerDefines.<init>(DocServerDefines.java:26)
        at com.justep.doc.DocServerDefines.getInstance(DocServerDefines.java:30)
        at com.justep.doc.attachment.Attachments.<init>(Attachments.java:72)
        at com.justep.doc.DocAdapter.commitAttachAdapter(DocAdapter.java:393)
        ... 30 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: SELECT  SA_DocNameSpace.sID, SA_DocNode.sID, SA_DocNameSpace.sDisplayName AS sDisplayName, SA_DocNameSpace.SURL AS sUrl, SA_DocNameSpace.SACCESSMODE AS sAccessMode, SA_DocNameSpace.sFlag AS sFlag, SA_DocNameSpace.version AS version FROM SA_DocNameSpace SA_DocNameSpace LEFT JOIN SA_DocNode SA_DocNode ON (SA_DocNameSpace.sID = SA_DocNode.SNAMESPACE)  AND (SA_DocNode.client_id = 'sdic')   WHERE ( (SA_DocNameSpace.sFlag = ?) AND (SA_DocNode.SFLAG = ?) ) AND (SA_DocNameSpace.client_id = 'sdic')  ORDER BY SA_DocNameSpace.sDisplayName ASC, binds: [1, 1]出错
        at com.justep.exception.BusinessException.create(Unknown Source)
        at com.justep.system.ksql.KSQLUtils.execSqlSelect(Unknown Source)
        ... 40 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 421,215 milliseconds ago.  The last packet sent successfully to the server was 21,542 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)
        ... 41 more
Caused by: java.net.SocketException: Software caused connection abort: recv failed
        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)
        ... 50 more


91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35913
发表于 2018-11-2 08:38:32 | 显示全部楼层
确认system数据源连接是否成功
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

368

主题

793

帖子

2378

积分

金牌会员

Rank: 6Rank: 6

积分
2378
QQ
 楼主| 发表于 2018-11-2 13:16:06 | 显示全部楼层
jishuang 发表于 2018-11-2 08:38
确认system数据源连接是否成功

结贴吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 17:33 , Processed in 0.061219 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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