【问题标题】:Adding alfresco 4.2 as a repositiory in liferay 6.1 using CMIS(AtomPub)使用 CMIS(AtomPub) 在 liferay 6.1 中添加 alfresco 4.2 作为存储库
【发布时间】:2012-12-24 01:37:11
【问题描述】:

我从网站下载了 Liferay 6.1 和捆绑的 tomcat,我目前正在尝试使用here 中描述的过程在文档和媒体 portlet 中添加一个新的存储库。

虽然集成成功,但在仓库列表中,新创建的 cmis 仓库 (alfresco) 显示以下警告:“连接到仓库时发生意外错误”。但是 catalina.out 和 liferay 日志上没有任何内容。然后,当我尝试创建子文件夹时,出现以下异常:在 apache chemistry CmisRuntimeException: Length Required.

我检查了 wireshark,实际上从 liferay 到 alfresco 的 POST 请求确实错过了内容长度。我该如何启用它?有没有人遇到过类似的问题?

任何帮助将不胜感激。

最好的问候

【问题讨论】:

    标签: liferay alfresco liferay-6 cmis opencmis


    【解决方案1】:
    1. 门户设置 - 身份验证 - 使用屏幕名称。 帐户创建存储库的昵称和密码应与 alfresco 相同。
    2. 将参数添加到portal-ext.properties session.store.password=truecompany.security.auth.type=screenName
    3. 创建存储库。使用 URL 路径 /alfresco/service/cmis(不是 /alfresco/cmisatom)。实时存储库 ID 为空白。

    阅读更多 Mounting Multiple CMIS Repositories on Liferay 6.1CMIS Repository

    【讨论】:

    • 另外,用户凭据可以在portal-ext.properties dl.store.impl=com.liferay.portlet.documentlibrary.store.CMISStore dl.store.cmis.credentials.username=username dl.store.cmis.credentials.password=password dl.store.cmis.repository.url=http://<host>:8080/alfresco/cmisatom 中定义
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-10
    • 1970-01-01
    • 2019-01-27
    • 1970-01-01
    相关资源
    最近更新 更多