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.