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

QQ登录

只需一步,快速开始

查看: 15336|回复: 9

[结贴] 文档中心上传文件出错

[复制链接]

22

主题

72

帖子

376

积分

中级会员

Rank: 3Rank: 3

积分
376
QQ
发表于 2021-2-18 15:01:46 | 显示全部楼层 |阅读模式
版本: 其它(帖子中说明) 小版本号: 3.9
数据库: MS SQLServer 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: Windows 其它 浏览器: Chrome
2021-02-18 14:03:38 [http-nio-8080-exec-5] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA/doc/system ...
2021-02-18 14:03:38 [http-nio-8080-exec-5] [com.justep.model.impl.ModelLoader] INFO: 加载模块:/SA/doc/data ...
2021-02-18 14:03:40 [http-nio-8080-exec-2] [com.justep.business.server.BusinessServer] ERROR: excute stream action, params:{"process":"/SA/doc/system/systemProcess","activity":"mainActivity","actionFlag":"__action_0__","action":"commitDocAction","contentType":"json","parameters":{"changeLog":"{\"items\":[{\"operation_type\":\"new\",\"process\":\"/SA/doc/docCenter/docCenterProcess\",\"activity\":\"mainActivity\",\"person\":\"/ORG01.ogn/4uFnXrgpqpDojR0uO0r.dpt/PSN01@4uFnXrgpqpDojR0uO0r.psm\",\"person_name\":\"SYSTEM\",\"dept_name\":\"信息部\",\"bill_id\":\"\",\"doc_id\":\"C941C6F859000001C1291810BC911AEB\",\"version\":\"0\",\"file_id\":\"\",\"doc_version_id\":\"\",\"doc_name\":\"viclin1.jpg\",\"kind\":\"\",\"size\":\"\",\"parent_id\":\"4AF4D94DBC1B4A38AF04DA428A455CD6\",\"doc_path\":\"/defaultDocNameSpace/4AF4D94DBC1B4A38AF04DA428A455CD6\",\"doc_display_path\":\"/文档中心/图纸\",\"description\":\"\",\"classification\":\"\",\"keywords\":\"\",\"finish_time\":\"\",\"serial_number\":\"\",\"doc_type\":\"document\",\"cache_name\":\"\",\"revision_cache_name\":\"\",\"comment_file_content\":\"\",\"link_id\":\"C941C6F85910000163514C4B83381C3D\",\"access_record_id\":\"C941C6F859100001425DBEAB1F601D7C\"}],\"autoCreateVersion\":true,\"operate\":\"commitDoc\",\"url\":\"\",\"isHttps\":false}"},"accept":"application/json"}
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:741)
        at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at com.justep.micro.service.MicroServiceFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1627)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.justep.doc.exception.DocRTException: 编码: JUSTEP300012; 提示: 提交文档中心文档失败
        at com.justep.doc.DocAdapter.commitDocAdapter(DocAdapter.java:202)
        ... 40 more





thentication.impl.DaisyAuthenticationFactory] DEBUG: 通过org.outerj.daisy.repository.serverimpl.model.LocalSchemaStrategy.loadDocumentType3获取到的[Microsoft SQL Server]sql是select part_id, required, editable from doctype_contentmodel where doctype_id = ? order by sequencenr
2021-02-18 14:03:40 [http-nio-8080-exec-1] [com.justep.doc.httpconnector.HttpConnector] ERROR: java.lang.RuntimeException: org.outerj.daisy.repository.variant.BranchNotFoundException: A branch named "main" does not exist.
2021-02-18 14:08:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleaning up old messages.
2021-02-18 14:08:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
2021-02-18 14:08:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Deleted 0 old message(s).
2021-02-18 14:08:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleanup done.
2021-02-18 14:13:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleaning up old messages.
2021-02-18 14:13:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
2021-02-18 14:13:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Deleted 0 old message(s).
2021-02-18 14:13:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleanup done.
2021-02-18 14:18:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleaning up old messages.
2021-02-18 14:18:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
2021-02-18 14:18:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Deleted 0 old message(s).
2021-02-18 14:18:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleanup done.
2021-02-18 14:23:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleaning up old messages.
2021-02-18 14:23:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
2021-02-18 14:23:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Deleted 0 old message(s).
2021-02-18 14:23:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleanup done.
2021-02-18 14:28:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleaning up old messages.
2021-02-18 14:28:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
2021-02-18 14:28:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Deleted 0 old message(s).
2021-02-18 14:28:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleanup done.
2021-02-18 14:33:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleaning up old messages.
2021-02-18 14:33:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Executing SQL: DELETE FROM ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)
2021-02-18 14:33:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter] DEBUG: Deleted 0 old message(s).
2021-02-18 14:33:39 [ActiveMQ Cleanup Timer] [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter] DEBUG: Cleanup done.


提示出错  请帮忙看看什么原因。

附件 doc log 和BIZ logo     


提交文档中心文档失败.rar

12.65 KB, 下载次数: 319

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

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



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

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2021-2-22 09:36:10 | 显示全部楼层
上传所有的文件都报错吗?重新初始化一个doc数据库,连接新初始化的数据库测试看看
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

22

主题

72

帖子

376

积分

中级会员

Rank: 3Rank: 3

积分
376
QQ
 楼主| 发表于 2021-2-22 12:26:58 | 显示全部楼层
jishuang 发表于 2021-2-22 09:36
上传所有的文件都报错吗?重新初始化一个doc数据库,连接新初始化的数据库测试看看 ...

换了数据库也是没用    我服务器和商用的是同一个问题
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2021-2-22 14:48:55 | 显示全部楼层
doc数据库是重新初始化的吗?初始化过程中有错误吗?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

22

主题

72

帖子

376

积分

中级会员

Rank: 3Rank: 3

积分
376
QQ
 楼主| 发表于 2021-2-22 22:31:35 | 显示全部楼层
本帖最后由 badnjcf 于 2021-2-22 22:44 编辑
jishuang 发表于 2021-2-22 14:48
doc数据库是重新初始化的吗?初始化过程中有错误吗?

初始化过程没有出错,
tomcat重新启动以后  登录页面的时候 出现以下错误:严重: 在路径为/x5的上下文中,Servlet[main-servlet]的Servlet.service()引发了具有根本原因的异常com.justep.ui.exception.UIException: 编码: JUSTEP002026; 提示: .J(/UI2/portal/base/login/login.j)执行失败
java.lang.ClassCastException: java.lang.String cannot be cast to com.alibaba.fastjson.JSONObject
回复 支持 反对

使用道具 举报

22

主题

72

帖子

376

积分

中级会员

Rank: 3Rank: 3

积分
376
QQ
 楼主| 发表于 2021-2-24 11:40:12 | 显示全部楼层
jishuang 发表于 2021-2-23 09:36
发完整的错误信息

初始化以后可以上传了, 请问客户那边弄不起来怎么办 也要初始化吗
回复 支持 反对

使用道具 举报

22

主题

72

帖子

376

积分

中级会员

Rank: 3Rank: 3

积分
376
QQ
 楼主| 发表于 2021-2-24 11:49:04 | 显示全部楼层
本帖最后由 badnjcf 于 2021-2-24 13:30 编辑
jishuang 发表于 2021-2-23 09:36
发完整的错误信息

初始化doc数据库后,上传文件可以了, 但是请问客户那边怎么初始化,我是多租户模式,昨天测试的初始化以后 client_id 全部没有了  是一个个 加回来的。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2021-2-24 17:22:34 | 显示全部楼层
只是初始化doc数据源

system数据源不需要重新初始化
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

22

主题

72

帖子

376

积分

中级会员

Rank: 3Rank: 3

积分
376
QQ
 楼主| 发表于 2021-2-24 21:23:31 | 显示全部楼层
jishuang 发表于 2021-2-24 17:22
只是初始化doc数据源

system数据源不需要重新初始化

OK了   非常感谢,请结帖
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 15:38 , Processed in 0.060835 second(s), 29 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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