Infrastructure at your Service

Stephane Biehler

Error accessing D2: Error while fetching repositories


After patching our D2 we ran into an error we never had before. After all, it’s only a patch. But as you know, patching D2 means recreating the war file and deploying it again. As well as setting up again all the customs you made…

Well this time we had a popup when accessing the D2 interface, which said “Error while fetching repositories”. That means D2 wans’t even able to load the list of available repo. And here’s what we had in the logs:

[ERROR] [http-bio-8080-exec-3] - c.e.d.d.w.s.config.D2X3ConfigService    : Error obtaining the default offline skin java.lang.NoClassDefFoundError: Could not initialize class com.documentum.fc.client.DfClient

I didn’t bring the whole stack trace but it was as “precise” as this line…

I found the solution in the official documentation, but not for my tomcat version… we were using tomcat 7 whereas it is for tomcat 8.

The solution:

Running Tomcat 8.0.5 with D7.1SP1 and DFS7.1.1 requires modifications to
File location: <CATALINA_HOME>/conf/

Running Tomcat 8.0.5 with D7.1 CS and DFS7.1 requires copying cryptojce.jar, cryptojcommon.jar and jcmFIPS.jar files to the /D2/WEN-INF/lib and /D2-Config/WEB-INF/lib folders. Also, modify the files as mentioned above.


  • VB says:

    Hi Stephane,

    I am facing the similar issue for D2 16.5.1 with tomcat 9 installed on windows server.
    When i access D2-Config from IE 11, i get the error window saying “Could not initialize class : com.documentum.fc.client.DfClient”.

    I tried replacing DFC jar file from D2\Web-Inf\classes folder to D2-Config\WEB-INF\classes folder (Please note, my D2 application is working fine without any such error message).

    Please provide your feedback on what could be the issue and/or where can i look for the troubleshooting.
    Thank you in advance.


  • Stephane Biehler says:

    Hi VB,
    what is the version of your windows?
    -> Windows Server 2012 R2 x64 and tomcat 9: NOT COMPATIBLE
    -> Windows Server 2016 x64 and tomat 9: COMPATIBLE
    -> Windows Server 2019 x64 and tomat 9: COMPATIBLE
    Did you follow the installation as stated in the Installation Guide page 41 Chapter 5.1 and 5.2?
    Also install D2 and D2-Config on separated tomcat instances to avoid config mixing.
    Did you set $CATALINA_HOME correctly?
    Do you get the exact same error as me? “Error While Fetching Repositories”?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stephane Biehler
Stephane Biehler