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

QQ登录

只需一步,快速开始

查看: 3362|回复: 5

[处理中1] 编码: JUSTEP300012; 提示: 提交文档中心文档失败

[复制链接]

6

主题

9

帖子

43

积分

新手上路

Rank: 1

积分
43
QQ
发表于 2016-10-19 09:48:03 | 显示全部楼层 |阅读模式
编码: JUSTEP300012; 提示: 提交文档中心文档失败
文档配置里,文档服务全部启动正常。文档中心里可以查看、修改、删除,但是在上传文件时浏览器报出标题错误。
后台错误
2016-10-19 09:40:07 [http-82-12] [org.outerj.daisy.repository.serverimpl.LocalRepositoryManager] ERROR: Namespace 'root' is not managed by the repository. Could not generate an id. To solve this try making the namespace managed
java.lang.Exception: Namespace 'root' is not managed by the repository. Could not generate an id. To solve this try making the namespace managed
        at org.outerj.daisy.jdbcutil.SqlDocumentIdCounter.getNextId(SqlDocumentIdCounter.java:63)
        at org.outerj.daisy.repository.serverimpl.LocalRepositoryManager$Context.getNextDocumentId(Unknown Source)
        at org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.store(Unknown Source)
        at org.outerj.daisy.repository.commonimpl.DocumentImpl.save(DocumentImpl.java:483)
        at org.outerj.daisy.repository.commonimpl.DocumentImpl.save(DocumentImpl.java:468)
        at com.justep.doc.httpconnector.handlers.FileCacheCommitHandler.newDoc(Unknown Source)
        at com.justep.doc.httpconnector.handlers.FileCacheCommitHandler.handleRequest(Unknown Source)
        at com.justep.doc.httpconnector.HttpConnector$PathHandler.handle(Unknown Source)
        at com.justep.doc.httpconnector.HttpConnector.service(Unknown Source)
        at com.justep.doc.httpconnector.FileServlet.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 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:595)
2016-10-19 09:40:07 [http-82-12] [com.justep.doc.httpconnector.HttpConnector] ERROR: commit error
org.outerj.daisy.repository.RepositoryException: Problem storing document.
        at org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.store(Unknown Source)
        at org.outerj.daisy.repository.commonimpl.DocumentImpl.save(DocumentImpl.java:483)
        at org.outerj.daisy.repository.commonimpl.DocumentImpl.save(DocumentImpl.java:468)
        at com.justep.doc.httpconnector.handlers.FileCacheCommitHandler.newDoc(Unknown Source)
        at com.justep.doc.httpconnector.handlers.FileCacheCommitHandler.handleRequest(Unknown Source)
        at com.justep.doc.httpconnector.HttpConnector$PathHandler.handle(Unknown Source)
        at com.justep.doc.httpconnector.HttpConnector.service(Unknown Source)
        at com.justep.doc.httpconnector.FileServlet.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 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:595)
Caused by: java.lang.Exception: Namespace 'root' is not managed by the repository. Could not generate an id. To solve this try making the namespace managed
        at org.outerj.daisy.jdbcutil.SqlDocumentIdCounter.getNextId(SqlDocumentIdCounter.java:63)
        at org.outerj.daisy.repository.serverimpl.LocalRepositoryManager$Context.getNextDocumentId(Unknown Source)
        ... 21 more
2016-10-19 09:40:07 action:<?xml version="1.0" encoding="UTF-8"?>
<action direct-execute="true" process="/SA/doc/system/systemProcess" activity="mainActivity" action-flag="__action_0__" executor="" execute-context="" name="commitDocAction"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="changeLog"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[{"items":[{"operation_type":"new","process":"/SA/doc/docCenter/docCenterProcess","activity":"mainActivity","person":"/ORG01.ogn/PSN01@ORG01.psm","person_name":"系统管理员","dept_name":"","bill_id":"","doc_id":"C74434DB47B00001D5FB14C016F089F0","version":"0","file_id":"","doc_version_id":"","doc_name":"关于进一步做好政府网站关停整合工作的通知.pdf","kind":"application/pdf","size":"754107","parent_id":"ae37c3a6-621a-4c55-960c-6223d97ea3f2","doc_path":"/root/65e34cb8-e45d-4430-ba73-d421e1c0680e/bcf62142-4f22-4355-9936-e1e88541e4f4/57287a2e-ca2b-442c-b89c-adbdb5e076b2/ae37c3a6-621a-4c55-960c-6223d97ea3f2","doc_display_path":"/文档中心/业务附件/OA/公文管理2014/11","description":"","classification":"","keywords":"","finish_time":"","serial_number":"","doc_type":"document","cache_name":"2013-DOC","revision_cache_name":"","comment_file_content":"","link_id":"C74434DB47C00001B0CA1A73F8847710","access_record_id":"C74434DB47C000012755F9301BA410D6"}],"autoCreateVersion":true,"operate":"commitDoc","url":"","isHttps":false}]]></xbiz:simple></parameter></parameters></action>
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        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.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 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:595)
Caused by: com.justep.doc.exception.DocRTException: 编码: JUSTEP300012; 提示: 提交文档中心文档失败
        at com.justep.doc.DocAdapter.commitDocAdapter(DocAdapter.java:203)
        ... 26 more

418

主题

1339

帖子

3011

积分

论坛元老

Rank: 8Rank: 8

积分
3011
QQ
发表于 2016-10-19 10:43:52 | 显示全部楼层
Namespace 'root' is not managed by the repository

文档中心里面有这个节点吗

试试随便拉一个附件组件 绑定一个text的字段 如果上传失败 再去看看是不是文档中心数据有问题
回复 支持 反对

使用道具 举报

6

主题

9

帖子

43

积分

新手上路

Rank: 1

积分
43
QQ
 楼主| 发表于 2016-10-19 11:25:38 | 显示全部楼层
不行我试了下,不管是文档中心还是随便拉个附件都是一样
回复 支持 反对

使用道具 举报

1

主题

3232

帖子

1174

积分

金牌会员

Rank: 6Rank: 6

积分
1174
QQ
发表于 2016-10-19 14:29:23 | 显示全部楼层
在问题解决后,希望大家可以吧解决方法也分享一下,这样可以让更多的X5开发者共同进步,谢谢大家的知识共享
回复 支持 反对

使用道具 举报

6

主题

9

帖子

43

积分

新手上路

Rank: 1

积分
43
QQ
 楼主| 发表于 2016-10-20 16:09:45 | 显示全部楼层
这个帖子不是我需要的解决方法
回复 支持 反对

使用道具 举报

25

主题

108

帖子

288

积分

中级会员

Rank: 3Rank: 3

积分
288
QQ
发表于 2022-2-28 17:16:10 | 显示全部楼层
闰土 发表于 2016-10-19 14:29
http://bbs.wex5.com/forum.php?mod=viewthread&tid=65849&highlight=JUSTEP300012

你看一下这个帖子 ...

打开表sa_docnamespace  修改一下啊端口地址看一下
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 17:27 , Processed in 0.099124 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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