Skip to content

Error accessing D2: Error while fetching repositories

d2_logo_failed

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 catalina.properties:
jnlp.com.rsa.cryptoj.fips140loader=true
File location: <CATALINA_HOME>/conf/catalina.properties

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 catalina.properties files as mentioned above.

Let’s work together

Ready to operate at
the next level?

Tell us about your challenge. We’ll bring the depth, the expertise, and the Swiss precision.

Middleware Team

Middleware Team

Posts published under the Middleware Team account are collective contributions by the dbi services middleware and enterprise content management consultants. The practice covers ECM platforms such as OpenText Documentum, Alfresco, and M-Files, as well as application servers and integration technologies including WebLogic, JBoss, Tomcat, and the Elastic Stack, from architecture and deployment to operations under service level agreements.View Author posts

322 posts since February 2013

Leave a Comment

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