今天做了一些dfc 环境的调查,下边是觉得可能有用的文章。

deploying a standalone DFC app in Windows 2000 (only using DFC components) I did the following ...

JAVAREG /register /control /class:com.documentum.com.DfClientX /codebase:"C:\Program Files\Documentum\Shared\dfc.jar" /typelib:dfc.tlb /nomktyplib clsid:{EFAC2dD80-175B-112D-006097C27C31} /progid:Documentum.Dfc

I copied dmcl40.dll (Version 4.2.1.18) and dfc.tlb (Dated 12/3/2001) into the C:\WINNT\SYSTEM32 directory and the dfc.jar (Dated 4/26/2001) into the C:\PROGRAM FILES\DOCUMENTUM\SHARED directory.

When I run my VB 6 app. I get an error on the line

SET dcx = CreateObject("Documentum.Dfc")

Classfactory cannot supply requested class.

For anyone with a similar problem, here was the solution that worked for me.

I added a user environment variable called CLASSPATH and pointed it at the dfc.jar file. Worked great!
ClassPath : D:\dfc\dll\dctm.jar;D:\dfc\dll\dfc.jar;C:\Documentum\config

http://www.bluefishgroup.com/library/2002/configuring-the-dfc-standalone/

Introduction

A common problem and/or question I see is “How do I use/install the DFC Standalone?”, albeit in different forms. If you install the Documentum Intranet Client or other Documentum applications that utilize the DFC, the DFC and required supporting libraries or DLL’s will be properly installed. If however, you want to access Documentum using the DFC on a machine that has no other Documentum applications, you will need to correctly configure your environment.

This article describes how to properly configure your environment to use the DFC standalone, addresses some errors you may encounter and discusses possible causes of those errors. Additionally, I have written a Java application that can be used to validate your environment. You can download it at: Check42DFEnvironment Application

You can also download the DFC Environment for Windows/NT and DFC Environment for Solaris which include DCTM DLL’s, Solaris library, and dfc.jar required to use the 4.2 version of the DFC.

  • You need to determine if you have the required dll installed and that it is the correct version for the version of the dfc.jar you are using. You can use the supplied Java application to determine whether or not you have the appropriate DLL installed and if it is the correct version. Download the application, install, and run it. For installation instructions, see Installing Check42DFEnvironment
  • Run the application. If the application fails, download the zip file DFC Environment for Windows/NT
  • Unzip dfcenv.zip to some folder.
  • Move the file, dmcl40.dll, to the c:\winnt\system32 folder or create a folder (e.g. C:\DCTM\libs), move dmcl40.dll into it and add the folder to the Path System variable.
  • Rerun the java application. It should now complete successfully.
  • If it does not succeed, make note of the location of the dmcl40.dll that is being used. It is reported in the standard of the Check42DFEnvironment application as “Library Path: C:\documentum\….\…\dmcl40.dll”
  • If this isn’t the location to where you copied the dmcl40.dll from the zip file, you have another dmcl40.dll on your machine that doesn’t support the 4.2 version of the DFC. You can problably remove it or replace it with the dmcl40.dll from the zip file, or modify search order of the Path System variable.

Solaris Installation

  1. If you haven’t already, download the Check42DFEnvironment Application and the DFC Environment for Solaris. For installation instructions, see Installing Check42DFEnvironment
  2. Unjar dfcenv.jar to some directory (e.g. /home/username/dfcenv) and install Check42DFEnvironment to some other directory (e.g. /home/username/DCTMapp).
  3. Set the LD_LIBRARY_PATH to include the directory where you unjarred dfcenv.jar. How you do this depends on the shell you are using. Assuming you unjarred dfcenv.jar to /home/username/dfcenv,
    • If you are using Ksh, export LD_LIBRARY_PATH=/home/username/dfcenv
    • If you are using Csh, setenv LD_LIBRARY_PATH /home/username/dfcenv
  4. ‘cd’ to the location where you installed the Check42DFEnvironment Application and run it
  5. The application should report it completed sucessfully

Common Errors and Possible Causes

 java.lang.NoClassDefFound: com/documentum/fc/common/....
 

Indicates that you probably haven’t included the dfc.jar in your Java classpath or the dfc.jar file itself does not exist in any directories/folders that are part of your classpath

 [DM_DFC_E_INIT_DMCL]error: “Error occurred while trying to initialize the DMCL: java.lang.UnsatisfiedLinkError: initialize.”; ERRORCODE: 205; NEXT: null
 

This error message can indicate a number of problems with the set up of your environment. These include:

In Solaris,

  • you have not set the LD_LIBRARY_PATH environment variable or,
  • if it has been set, the libdmcl40.so library is not in any of the directories listed in LD_LIBRARY_PATH
  • The libdmcl40.so you are using cannot be used with the version of dfc.jar you are using

In Windows/NT,

  • dmcl40.dll is not installed
  • dmcl40.dll is not installed in a folder that is included in the Path System Variable
  • The dmcl40.dll cannot be used with the version of dfc.jar you are accessing

Installing and Running the Check42DFEnvironment Application

Installing and Running On Windows/NT

  • Unjar the file, Test42DFCEnvironment.jar
  • Open the file Check42DFEnvironment.bat, and modify the line “set JAVA_HOME=c:\jdk1.2.2″ to point to the location where you have the JDK installed
  • Open up a DOS shell
  • run application using Check42DFEnvironment.bat
  • Note the output

Installing and Running On Solaris

  • Unjar the file, Test42DFCEnvironment.jar
  • Open the file Check42DFEnvironment, and modify the line “export JAVA_HOME=/opt/jdk1.2.1_03″ to point to the location where you have the JDK installed and save the file
  • run application using Check42DFEnvironment
  • Note the output

转载于:https://www.cnblogs.com/xioxu/archive/2008/12/26/1363373.html

About Dfc environment相关推荐

  1. 2020-09-15 JAVA面试题整理

    文章目录 一.Java基础系列面试题 二 Java 面试题(二) 四.Redis面试题 四.Redis面试题 七.Spring Boot 面试题 九.微服务 面试题 十一.RabbitMQ 面试题 十 ...

  2. Android Environment 的作用以及常用的方法

    从源码中可以看到这样一句话 Provides access to environment variables Environment的作用是:  提供对环境变量的访问 常见的方法 //外部存储设备的当 ...

  3. Pycharm报错合集:在pycharm运行anaconda配置的Pytorch环境报错(Environment location diretory is not empty )

    第一次安装完pycharm后配置的解释器是Anaconda/envs下的python解释器.   发现但是要使用到pytorch(想直接使用Anaconda中创造的虚拟环境pytorch),所以就重新 ...

  4. UE4风格化场景设计入门指南 Stylized Station – The Environment Artist’s Survival Kit

    持续时间13h 1920X1080 .ts 包含项目文件 大小解压后:4.9G 语言:英语+中文字幕(人工校对) 标题:风格化的车站--环境艺术家的生存工具包 信息: 环境艺术很难. 尤其是作为初学者 ...

  5. Blender创建三维教室场景学习教程 3D Classroom Environment Creation in Blender

    流派:电子学习| MP4 |视频:h264,1280×720 |音频:AAC,48.0 KHz 语言:英语+中英文字幕(根据原英文字幕机译更准确)|大小解压后:3.73 GB 含课程文件 |时长:4h ...

  6. ue4商城素材 Cyberpunk City / Recife Environment 赛博朋克城市场景

    ue4商城素材 Cyberpunk City / Recife Environment 赛博朋克城市场景 ue4商城素材 Cyberpunk City / Recife Environment 赛博朋 ...

  7. Revit:概念建模环境技能学习 Revit: Conceptual Modeling Environment

    Revit:概念建模环境技能学习 Revit: Conceptual Modeling Environment MP4 |视频:h264,1280×720 |音频:AAC,44.1 KHz,2 Ch  ...

  8. TEE(Trusted Execution Environment)简介

    TEE(Trusted Execution Environment),可信执行环境,该环境可以保证不被常规操作系统干扰的计算,因此称为"可信".这是通过创建一个可以在TrustZo ...

  9. 解决Neither the JAVA_HOME nor the JRE_HOME environment variable is defined问题

    问题描述: 在cmd窗口使用 startup 命令启动Tomcat时,出现 Neither the JAVA_HOME nor the JRE_HOME environment variable is ...

最新文章

  1. 最新研究前线-深度推荐系统真的有效吗?
  2. boost::fusion::reverse用法的测试程序
  3. python 示例_带有示例的Python字典popitem()方法
  4. 【OS学习笔记】十六 保护模式四:进入保护模式与在保护模式下访问内存的汇编代码
  5. 连接fiddler后手机无法显示无网络
  6. 我学到的5件事,指导2,500名有抱负的开发人员
  7. POJ 1469 COURSES 二分图最大匹配
  8. 转:OAuth 2.0
  9. DataGridView - Column named XXX cannot be found
  10. 链表常见操作java实现二:反转链表,从尾到头倒序遍历
  11. 安卓ViewFlipper跑马灯效果
  12. 周杰伦 青花瓷 蒲公英的约定 我不配 彩虹 歌词和下载
  13. 计算智能——密码分析:面向对象的分析与设计之Use Cace图
  14. 新版上线|能力中心打造全新视角
  15. 第二篇 网狐荣耀开发环境搭建
  16. Python - matplotlib - 决策曲线分析(Decision Curve Analysis)
  17. C# ORM模式之 SqlSugar使用
  18. Android手势密码view笔记(一)
  19. 一键查询物流,教你查找快递延误件并导出EXCEL表格
  20. 针对移动机器人的人体目标检测和跟踪系统的实现

热门文章

  1. Scheduler-Framework中的Permit使用和注意事项
  2. 2020笔记本性价比之王_2020十大笔记本电脑性价比排行(最新笔记本电脑推荐)...
  3. 大学计算机阶段考试不及格,大学考试不及格不能毕业吗?
  4. 国内UPS电源品牌排行-科士达UPS
  5. 解决mysql自动重连
  6. GSMA MWC19巴塞罗那圆满落下帷幕
  7. 机械革命无法使用U盘启动linux,机械革命如何用u盘装系统
  8. c语言银行存钱程序,c语言银行存钱.doc
  9. 声学概念解释——混响时间
  10. 状压搜索 Circling Round Treasures:CodeForces - 375C