Apache ManifoldCF.无法创建与FileNet的存储库连接

duv*_*uvo 7 filenet manifoldcf

我试图从ManifoldCF连接到FileNet而没有任何成功.我得到的错误是

Connection status:  Connection temporarily failed: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect
Run Code Online (Sandbox Code Playgroud)

我的参数摘要如下.请注意,我将*放在我不确定的参数旁边,服务器名称和用户名都是虚构的

FileNet domain=test-my-filenet-domain *
User ID=myusername
Server protocol=http
Server WebServices location=wsi/FNCEWS40DIME *
Object store=Test OS
Document URL protocol=http
Document URL hostname=samplehost.mycomp.org
Document URL location=Workplace/Browse.jsp
Server port=7003
Server hostname=samplehost-wp.mycomp.org
Document URL port=443
Password=********
Run Code Online (Sandbox Code Playgroud)

我已经验证了FileNet CE ping页面已启动并在URL上运行http://samplehost.mycomp.org:7003/FileNet/Engine

这个经典的Workplace可以在https://samplehost-wp.mycomp.org/Workplace上找到.请注意,Workplace通过HTTPS,CE通过HTTP

有没有人使用Apache Manifold成功连接到FileNet仓库?

duv*_*uvo 1

我已经弄清楚了。根据构建MCF的文档https://manifoldcf.apache.org/release/release-2.5/en_US/how-to-build-and-deploy.html#Building+and+running+the+FileNet+connector。FileNet 和 Documentum 还必须运行两个附加进程。您必须在运行服务器进程之前运行注册表进程。

<MCF_Install>/processes/filenet-registry/run.[bat|sh]
<MCF_Install>/processes/filenet-server/run.[bat|sh]
Run Code Online (Sandbox Code Playgroud)

从 Apache 代码库中,您可以看到它建立了本地连接(第 125 行),https://apache.googlesource.com/manifoldcf/+/CONNECTORS-474/connectors/filenet/connector/src/main/java/org /apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java。这就是它失败的地方,因为依赖的进程尚未运行。

请注意,MCF 版本 2.4 可与 FileNet 4.5 配合使用。如果您运行的是较新版本的 FileNet,则需要将所有 FileNet CEWS 客户端 jar 添加到

<MCF_Install>/processes/filenet-server/lib-proprietary
Run Code Online (Sandbox Code Playgroud)

我正在运行 FileNet 5.2,并且能够从 ACCE 下载所有 jar。此外,如果您运行的是较新版本的 FileNet,则 Web 服务位置为 wsi/FNCEWS40MTOM 或 wsi/FNCEWS40SOAP。wsi/FNCEWS40DIME 已弃用。