We had a client last week struggle with a DM_DFC_E_BAD_CLASS when deploying Webtop and our OpenAnnotate product along with our DFC based OpenContent. The issue arises from the CLASSPATH having the file “dfc.jar” added to it. We thought we would document the thoughts here for other client’s reference.
Weblogic is using the existing CLASSPATH variable if defined, and in your case your CLASSPATH is already defined as: “C:Program FilesDocumentumdctm.jar;C:Documentumconfig;
When you start your weblogic domain, weblogic is appending your existing classpath to the end of its classpath:
This location and jar might be a relic of the dctm 5.3 days, where the applications did not contain all of the jars and would utilize the jars in the shared location. If you inspect dctm.jar, you’ll see it merely adds more jars to the classpath, and in our case is causing conflicts with the dfc.jar from the Shared folder:
Manifest-Version: 1.0 Class-Path: Application%20Builder/devws.jar Shared/wstools.jar Shared/ ant-launcher.jar Shared/ant-ext.jar Shared/ant.jar Shared/bpm_infra.j ar Shared/DDS.jar Shared/widgets.jar Shared/dart.jar Shared/configser vice-impl.jar Shared/configservice-api.jar Shared/DmcRecords.jar Shar ed/xtrim-server.jar Shared/messageArchive.jar Shared/messageService.j ar Shared/xtrim-api.jar Shared/tar.jar Shared/dam_services.jar Shared /xforms.jar shared/workflow.jar shared/subscription.jar Shared/ci.jar Shared/bpmutil.jar Shared/All-MB.jar Shared/log4j.jar Shared/certjFI PS.jar Shared/jsafeFIPS.jar Shared/dfc.jar Created-By: Documentum Installer Component Library
The OpenContent will start working properly once that “dctm.jar” entry is removed from the CLASSPATH.
Comment below if you have any questions or issues.