CPIT 5.2.1…. rant

CPIT has acquired something of a reputation for being overly fussy and fragile.

Last week I found myself needing to get hold of a FileNet 5.2.1 single server system, and CPIT seemed to fit the bill. Luckily I had all the packages to hand, so within about 3 hours, I had what was at first sight a complete environment.

How wrong I was.

I’d tested the installation out in WorkplaceXT and ACCE, and all was looking great. However, on configuring a repository inside Content Navigator, it all descended into a bit of a mess. Navigator insisted that the object store was not available, and the WebSphere logs gave no hint of any problem – showing successful object store authentication, so, after a few hours I was beginning to wish I’d installed everything manually.

However, after a tip-off (thanks Colin) it became obvious that a critical step had been skipped by CPIT – this is a setting that is present in WebSphere 8.5 that was off by default in earlier versions. Despite overcoming this obstacle, I also found that I couldn’t open any of the Workflow-based Java applets in WorkplaceXT. A bit of googling revealed an article that suggested further changes to WebSphere configuration, and thankfully this fixed the problem.

So now I have a fully operational 5.2.1 system, but I’m left wondering why it had to be so frustrating. Did I miss something in the CPIT documentation? Or, are we just expected to figure out for ourselves that important steps have been missed by CPIT? CPIT is completely scripted, so maybe there is no command-line statement available for making these changes I mentioned above, but even so, the CPIT Installation guide should include these gotchas.

This entry was posted in FileNet, IBM Content Navigator, P8 v5. Bookmark the permalink.

11 Responses to CPIT 5.2.1…. rant

  1. Guillaume says:

    Hi Ian,

    I’m facing the same issue. The platform seems functional, under FEM and ACCE everything works fine. But under ICN, I can’t add a new repository. I already did change the HTPPOnly settings in WAS (on both WAS server and restarted them) but I still have the issue. I used the ICONF CPIT (IBM Content Foundation Composite Platform Installation Tool V5.2 – CN233EN) instead of the one you used, but issue is the same so I thought maybe you had an idea?

    And btw, this can be scripted using the wsadmin command-line tool so I really don’t know why they didn’t included this into the CPIT.

    Thank you for your help.

  2. ianw says:

    Hi Guillaume,

    I’m pretty sure I documented all the issues/fixes in this post, but if anything more occurs to me I shall post it here.

  3. Guillaume says:

    Ok thank you, and thanks for fixing the second link. I’ll try to make it work and I’ll post back here when I have.

  4. Guillaume says:

    Quick question, what URL are you using to add the repository? I’m using iiop://localhost:2809/wsi/FNCEWS40MTOM in my 5.2 platform, the help says iiop://localhost:2809/FileNet/Engine. I’ve tried both of course, and always get “The repository is not available”, but maybe you are using another one?

    Both http://localhost:9080/wsi/FNCEWS40MTOM and http://localhost:9080/FileNet/Engine answer fine with the xml/ping page.

  5. ianw says:


    I use iiop://
    When configuring a new repository in ICN Admin desktop, there only seems to be the option to specify using EJB as the Protocol, so I guess it has to be an IIOP address.

    Have you enabled ICN logging (Debug), and checked what happens when you click the Connect button when defining the repository?

    (The logging was completely unhelpful when I was debugging this problem, but you never know).

  6. Guillaume says:

    Ian, Thank you very much for your help.

    That’s strange, even on my working platform (which I upgrade to 5.2.1 after a 5.2 CPIT, I’m using the wsi url, but with the iiop protocol, which doesn’t really make sense since it’s EJB on a wsi URL 🙂 ). I’ll try the same as you (FileNet/Engine) on my working platform to see if it works.

    Yes, I did activate debug in ICN then restart, and tail WAS log from both WAS instances and there is not even one line when I try to connect to the repository, this is depressing… But that’s what made me think it might be the same issue than you since I saw you also had nothing.

    Btw, I try with a wrong URL when connecting a new repository, error message is the same so it’s like the iiop URL are just not answering… But port (2809) is ok, I checked in the WAS console, might try a telnet on it (I stopped iptables to make sure).

    I’ll keep you updated of any improvement.

  7. Paul Atreides says:

    Hi. I am having problems with installing single-server CPIT 5.2.1 on Windows Server 2008 R2 Standard Service pack 1 – 64bit. I’ve tried 3 different variations: FileNet P8 Platform, Case manager and Content Foundation. And I still have errors during installation, such as:
    1. “ERROR>System error 1376 has occurred.
    ERROR>The specified local group does not exist.

    2. “Line 1105: OUTPUT> java.security.cert.CertPathValidatorException: Certificate chaining error”. and so on.

    Did any of you experience installation on windows, or all of you using Unix-based OS?
    Thank you!

  8. Ashok says:

    I tried the same CPIT install, when configuring the ICN repository i got the below error.

    FNRCA0031E: API_UNABLE_TO_USE_CONNECTION: The URI for server communication cannot be determined from the connection object ConnectionImpl@0x9f188273 URI=iiop://xxxxxxxx:2809/FileNet/Engine tenant=null Parameters={}.

    After that i made the changes to Websphere using the below link for “Configuring separate WebSphere Application Server instances that run on the same computer”


    After that i got the below error in log files.

    CIWEB Error: [P8Admin @] com.ibm.ecm.struts.actions.p8.P8LogonAction.createP8Connection()
    com.filenet.api.exception.EngineRuntimeException: FNRCS0001E: SECURITY_ANONYMOUS_DISALLOWED: Access to Content Platform Engine was not allowed because the request was made anonymously instead of by an authenticated user. The application server reported that the user was anonymous.


    checked the permissions on object store & it has full permissions.

    Please let me know if any one has fixed the issue.


  9. Paras says:

    Hi Ian,

    I am facing follwing error while using CPIT 5.2.1 for a fresh setup on Window 2008 enterprise server.
    “SQL1024N A database connection does not exist. SQLSTATE=08003”
    If anyone here has faced the same issue earlier and have a solution kindly help me.


  10. Mohamed A. says:

    This seems to be a too late comment, but it may save someone else’s time, I hope. Today I got the same “The Repository is not available” message and the thing for my case was that ICM Websphere wasn’t able to reach out to the CPE host server. And the error messages were pretty clear in the WAS logs. The simplest solution for me was just to add the full CPE host name and IP address mapping to the hosts file of ICM server, once added everything should work fine.

  11. Somu Sundaram says:

    I am trying to connect to FileNet via my java program. I get the following exception. Can some one help?

    S Somu
    [Perf Log] No interval found. Auditor disabled.
    com.filenet.api.exception.EngineRuntimeException: FNRCA0031E: API_UNABLE_TO_USE_CONNECTION: The URI for server communication cannot be determined from the connection object https://ServerName:port/wsi/FNCEWS40MTOM. Duration 22,399 milliseconds.
    at com.filenet.apiimpl.wsi.ServiceSessionNst.cOpenMultipartOutputStream(ServiceSessionNst.java:354)
    at com.filenet.apiimpl.wsi.ServiceSessionNst.cReqRespPath(ServiceSessionNst.java:235)
    at com.filenet.apiimpl.wsi.ServiceSessionNst.getObjects(ServiceSessionNst.java:183)
    at com.filenet.apiimpl.util.SessionHandle.getObjects(SessionHandle.java:346)
    at com.filenet.apiimpl.core.Session.callGetObjects(Session.java:132)
    at com.filenet.apiimpl.core.Session.executeGetObject(Session.java:340)
    at com.filenet.apiimpl.core.Session.getObject(Session.java:354)
    at com.filenet.apiimpl.core.IndependentObjectImpl.getObject(IndependentObjectImpl.java:147)
    at com.filenet.apiimpl.core.IndependentObjectImpl.refresh(IndependentObjectImpl.java:155)
    at com.filenet.api.core.Factory$Domain.fetchInstance(Factory.java:1624)
    at cesample.CEConnection.fetchDomain(CEConnection.java:59)
    at cesample.CEConnection.establishConnection(CEConnection.java:47)
    at cesample.CEConnection.main(CEConnection.java:125)
    Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
    at com.filenet.apiimpl.wsi.ServiceSessionNst$1.run(ServiceSessionNst.java:464)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.filenet.apiimpl.wsi.ServiceSessionNst.cDoPrivilegedHttpConnectAndGetOutputStream(ServiceSessionNst.java:473)
    at com.filenet.apiimpl.wsi.ServiceSessionNst.cInitHttpConnection(ServiceSessionNst.java:434)
    at com.filenet.apiimpl.wsi.ServiceSessionNst.cOpenMultipartOutputStream(ServiceSessionNst.java:346)
    … 12 more

Leave a Reply

Your email address will not be published. Required fields are marked *