【问题标题】:Cant execute simple query to Alfresco with CMIS WORKBENCH无法使用 CMIS WORKBENCH 对 Alfresco 执行简单查询
【发布时间】:2012-10-10 10:39:50
【问题描述】:

我正在尝试使用 CMIS WORKBENCH 对 Alfresco 执行这个简单的查询,但出现了一些错误:

SELECT * FROM cmis:document

当我检查日志时,有很多异常。这些是(对我而言)相关的:

Web 脚本 /alfresco/service/cmis/queries 已响应状态为 500 - 内部错误。

消息:09180065 包装异常(带有状态模板):09185424 无法执行脚本 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js':09185423

异常:java.security.cert.CertificateExpiredException - NotAfter: 2012 年 8 月 17 日星期五 07:34:11 VET 异常:java.security.cert.CertPathValidatorException - 时间戳 检查失败 例外:org.alfresco.repo.search.impl.lucene.LuceneQueryParserException - 09185423 异常:org.alfresco.scripts.ScriptException - 09185424 无法执行脚本 '类路径*:alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js': 例外:org.springframework.extensions.webscripts.WebScriptException - 09180065 Wrapped Exception (with status template): 09185424 无法执行脚本 '类路径*:alfresco/templates/webscripts/org/alfresco/cmis/queries.post.cmisquery.js': 09185423

有人知道这个例外是什么意思吗?感谢您的帮助!

【问题讨论】:

  • 您是否检查过您是否使用 SSL 连接到 Alfresco,以及证书是否正常?
  • 该错误意味着您的证书已过期。你在使用 SSL 吗?您是否正在使用旧版本的 Alfresco,内置过期证书?
  • 我没有使用 SSL。只需更新到 4.2 版本,错误就消失了。 (我忘了说我用的是 4.0),谢谢!
  • 请创建一个答案并解释版本,然后自己接受。谢谢!

标签: alfresco cmis cmis-workbench


【解决方案1】:

这是来自 Alfresco 论坛的官方post,与此问题有关。

它表示与您的 Alfresco 一起交付的默认 SSL 证书将于 2012 年 8 月 17 日到期 - 与日志文件中的异常相符:

Exception: java.security.cert.CertificateExpiredException - NotAfter: Fri Aug 17 07:34:11 VET 2012 

该帖子还链接到 Alfresco Wiki 中的 article,其中解释了为 SOLR(处理 CMIS 查询)生成新 SSL 证书。

此错误是由 Alfresco 引起的,不应与 CMIS 相关。

其他信息

Blog post 关于为 SOLR 创建自签名证书。

【讨论】:

  • 谢谢,有道理,我会尝试生成一个新证书,让我们看看会发生什么,问候!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-08-12
  • 1970-01-01
  • 2016-08-03
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多