filenetmanifoldcf

Apache ManifoldCF. Unable to create repository connection to FileNet


I am trying to connect to FileNet from ManifoldCF without any success. The error I got is

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

The summary of my parameters are below. Note that i put the * next to parameter that I am unsure about and server name and username are fictitious

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

I have verified that the FileNet CE ping page is up and running at the url http://samplehost.mycomp.org:7003/FileNet/Engine

And that classic Workplace is available at https://samplehost-wp.mycomp.org/Workplace. Note that Workplace is over HTTPS and CE is over HTTP

Anyone out there successfully connected to a FileNet repo using Apache Manifold?


Solution

  • I've figured it out. According to the documentation for building MCF https://manifoldcf.apache.org/release/release-2.5/en_US/how-to-build-and-deploy.html#Building+and+running+the+FileNet+connector. There are two additional processes that has to be run for FileNet and Documentum. You must run registry process before running the server process.

    <MCF_Install>/processes/filenet-registry/run.[bat|sh]
    <MCF_Install>/processes/filenet-server/run.[bat|sh]
    

    From the Apache code base you can see that it's make a local connection (line 125), https://apache.googlesource.com/manifoldcf/+/CONNECTORS-474/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java. This is where it's failing because the dependent processes haven't run yet.

    Note that MCF version 2.4 works with FileNet 4.5. If you are running newer version of FileNet then you'll need to add all the FileNet CEWS client jars to

    <MCF_Install>/processes/filenet-server/lib-proprietary
    

    I am running FileNet 5.2 and was able to download all the jar from ACCE. Also, if you are running newer version of FileNet, the web service location is wsi/FNCEWS40MTOM or wsi/FNCEWS40SOAP. wsi/FNCEWS40DIME is deprecated.