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

QQ登录

只需一步,快速开始

查看: 6182|回复: 10

[结贴] 文档中心可以上传下载文件,但是附件控件里不能?

[复制链接]
发表于 2018-3-15 09:23:32 | 显示全部楼层 |阅读模式
在附件控件里上传下载文件的时候,就报juestp.Doc.getdocServerAction失败,请确认文档服务配置是否正确!

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-3-15 09:32:20 | 显示全部楼层
确认文档关联中配置的根目录是否正确
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

 楼主| 发表于 2018-3-15 09:35:07 | 显示全部楼层
jishuang 发表于 2018-3-15 09:32
确认文档关联中配置的根目录是否正确

我觉得配置正确的,不然文档中心也不能上传下载吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2018-3-15 09:42:10 | 显示全部楼层
jishuang 发表于 2018-3-15 09:32
确认文档关联中配置的根目录是否正确

我的版本是BEX5 3.6,文件中心 跟 附件控件连接文档服务器不一样吗?
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-3-15 10:10:39 | 显示全部楼层
如果文档关联中自己没有配置,并且文档配置的数据是平台的初始化脚本初始化的,那就默认用的一样的
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

 楼主| 发表于 2018-3-15 10:20:02 | 显示全部楼层
jishuang 发表于 2018-3-15 10:10
如果文档关联中自己没有配置,并且文档配置的数据是平台的初始化脚本初始化的,那就默认用的一样的 ...

应该都是初始化的
我的在外网访问内网的文档服务器,我觉得要么文档中心和附件都不行,要么都行,为甚么一个可以一个不可能呢?
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-3-15 10:47:40 | 显示全部楼层
附件中上传不报错就下载报错?
看docServer的日志信息
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

 楼主| 发表于 2018-3-15 11:03:51 | 显示全部楼层
本帖最后由 Tomato_2014 于 2018-3-15 11:29 编辑
jishuang 发表于 2018-3-15 10:47
附件中上传不报错就下载报错?
看docServer的日志信息

附件中上传、下载都报?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2018-3-15 11:25:40 | 显示全部楼层
jishuang 发表于 2018-3-15 10:47
附件中上传不报错就下载报错?
看docServer的日志信息

docserver里的信息,没有报错信息
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.jms.impl.JmsClientImpl] DEBUG: 消费者有消息
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexUpdater] DEBUG: fullTextIndexUpdate message
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.authentication.impl.DaisyAuthenticationFactory] DEBUG: 通过org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.loadVersionInTransaction获取到的[MySQL]sql是select id, created_on, created_by, name, state, synced_with_lang_id, synced_with_version_id, change_type, change_comment, last_modified, last_modifier, total_size_of_parts from document_versions where id = ? and doc_id = ? and ns_id = ? and branch_id = ? and lang_id = ?
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.authentication.impl.DaisyAuthenticationFactory] DEBUG: 通过org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.loadFields获取到的[MySQL]sql是select fieldtype_id, stringvalue, datevalue, datetimevalue, integervalue, floatvalue, decimalvalue, booleanvalue, link_docid, ns.name_ as link_ns, link_branchid, link_langid, hier_seq from thefields left join daisy_namespaces ns on (thefields.link_nsid = ns.id) where doc_id = ? and ns_id = ? and branch_id = ? and lang_id = ? and version_id = ? order by fieldtype_id, value_seq, hier_seq
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.authentication.impl.DaisyAuthenticationFactory] DEBUG: 通过org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.loadParts获取到的[MySQL]sql是select v.created_on, p.blob_id, p.mimetype, p.filename, p.parttype_id, p.blob_size, p.changed_in_version from parts p,document_versions v where p.doc_id = ? and p.ns_id = ? and p.branch_id = ? and p.lang_id = ? and p.version_id = ? and v.doc_id=p.doc_id and p.ns_id=v.ns_id and p.branch_id=v.branch_id and p.version_id=v.id
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.authentication.impl.DaisyAuthenticationFactory] DEBUG: 通过org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.loadLinks获取到的[MySQL]sql是select title, target from links where doc_id = ? and ns_id = ? and branch_id = ? and lang_id = ? and version_id = ? order by id
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexUpdater] DEBUG: Textextractor wasn't able to extract anything for document 129628-root, branch 1, language 1, part type 1 (mimetype = image/jpeg)
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexImpl] DEBUG: Indexing content for document ID 129628-root, branch ID 1, language ID 1
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexUpdater] DEBUG: Received a message from JMS of type DocumentVariantUpdated and decided to do nothing.
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexImpl] DEBUG: Finished indexing content for document ID 129628-root, branch ID 1, language ID 1
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.jms.impl.JmsClientImpl] DEBUG: 消费者有消息
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexUpdater] DEBUG: fullTextIndexUpdate message
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexUpdater] DEBUG: Received a message from JMS of type DocumentVariantDeleted and decided to queue an index update request for document 630435-DOC, branch 1, language 1
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.apache.activemq.ActiveMQSession] DEBUG: Sending message: ActiveMQMapMessage {commandId = 0, responseRequired = false, messageId = ID:WIN-PKBTDJJ2ELH-1313-1521072742411-3:0:1:1:176, originalDestination = null, originalTransactionId = null, producerId = ID:WIN-PKBTDJJ2ELH-1313-1521072742411-3:0:1:1, destination = queue://fullTextIndexerJobs, transactionId = null, expiration = 0, timestamp = 1521084081813, arrival = 0, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = org.apache.activemq.util.ByteSequence@4e499fd0, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true, droppable = false} ActiveMQMapMessage{ theTable = {} }
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.jms.impl.JmsClientImpl] DEBUG: 消费者有消息
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.authentication.impl.DaisyAuthenticationFactory] DEBUG: 通过org.outerj.daisy.repository.serverimpl.LocalDocumentStrategy.loadDocumentInTransaction获取到的[MySQL]sql是select created, last_modified, last_modifier, owner, private, reference_lang_id, updatecount from documents where id = ? and ns_id = ?
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexUpdater] DEBUG: Document 630435-DOC is deleted or has no version marked as published, will remove fulltext index (if any exists).
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexImpl] DEBUG: Indexing content for document ID 630435-DOC, branch ID 1, language ID 1
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexImpl] DEBUG: Finished indexing content for document ID 630435-DOC, branch ID 1, language ID 1
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.jms.impl.JmsClientImpl] DEBUG: 消费者有消息
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexUpdater] DEBUG: fullTextIndexUpdate message
2018-03-15 11:21:21 [ActiveMQ Session Task] [org.outerj.daisy.ftindex.FullTextIndexUpdater] DEBUG: Received a message from JMS of type DocumentDeleted and decided to do nothing.
2018-03-15 11:21:23 [Daisy index flusher] [org.outerj.daisy.ftindex.FullTextIndexImpl] DEBUG: Closing and reopening lucene index writer in order to flush changes.


回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-3-15 11:34:58 | 显示全部楼层
那就说明不是用的这个文档服务器,在文档关联功能中配置一下
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-7-6 17:14 , Processed in 0.066611 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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