2016-09-07 35 views
7

我想从ManifoldCF FileNet连接没有任何成功。我得到的错误是Apache ManifoldCF。无法创建存储库连接到FileNet

Connection status: Connection temporarily failed: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect 

我的参数汇总如下。请注意,我把*旁边我不确定和服务器名和用户名都是虚构

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=******** 

我已经验证了FileNet的CE平页面上,将URL运行http://samplehost.mycomp.org:7003/FileNet/Engine

及参数那传统的工作场所可在https://samplehost-wp.mycomp.org/Workplace。请注意,工作场所通过HTTPS和CE通过HTTP

任何人都在那里成功地连接到使用Apache Manifold的FileNet回购?

+0

你是说你不确定你的FileNet“Domain”是什么?此外,您的连接错误显示ip为127.0.0.1; ManifoldCF和FileNet在同一台服务器上吗? –

+0

克里斯。是的,我不确定要为FileNet域输入什么内容。不,ManifoldCF和FileNet不在同一台服务器上。 – duvo

回答

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] 

从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 

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

+0

wsi/FNCEWS40MTOM绝对是首选。另请注意,如果使用更新的FileNet API发现任何异常,Apache建议重新构建连接器,并提供一个ANT文件来执行此操作。 –

1

您可以使用FEM或ACCE找到您的FileNet域。 当您第一次登录到ACCE或FEM时,该域是第一个(顶部)条目。

FileNet P8 domain

你FileNet的版本没有提及。 如果连接FileNet的版本5.1+那么你Server WebServices location应该是: Server WebServices location=wsi/FNCEWS40MTOM/

我假设你使用的是基于您的端口号的WebLogic;并且您位于该服务器上的WebLogic的第三个服务实例(默认值为7001,您位于7003)。 :IBM FileNet P8 ports

您的错误消息表明您没有找到位于指定端口的服务;特别是它不能连接到本地主机上的某个端口。 验证主机是否是同一台服务器(您在ManifoldCF所在的服务器上运行FileNet)。

http://127.0.0.1:7003/FileNet/Engine工作吗?

+0

好吧,我从ping页面获得了域名。该版本是P8 Content Platform Engine - 5.2.1.4。并且不,http://127.0.0.1:7003不起作用,错误是网站无法访问。我会认为Manifold会尝试在指定的文档URL处连接到CE,这是“samplehost.mycomp.org” – duvo

+0

我会认为同样的事情,但是您的错误提示了不同的东西。您可能想要登录到Manifold服务器并尝试ping/trace“samplehost.mycomp.org”并查看它出现的是什么IP。如果它是正确的,是否有另一个需要编辑的配置文件?我自己并没有配置Manifold实例,但他们只是说它们与FileNet 4.5兼容....也许它不适用于5.2? 另外,如果你使用的是5.2,你一定想使用'Server WebServices location = wsi/FNCEWS40MTOM /'。 –

+0

找到它试图连接到FileNet的代码MCF(请参见第125行)。不知道为什么它在进行FileNet工厂查找时对127.0.0.1进行了硬编码。 https://apache.googlesource.com/manifoldcf/+/CONNECTORS-474/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java – duvo

相关问题