setBPMExternalECM 命令失败

使用 AdminTask.setBPMExternalECM 命令配置 IBM® Business Automation Workflow 时,可能会看到以下错误: CWMCB0195E: The source file of the copy operation does not exist

关于本任务

如果您具有外部 Content Platform Engine 5.5.1 ,那么会发生此错误,因为 Content Platform Engine 5.5.1中不存在 com.filenet.deployment.rcp_6.0.0.jar 文件。 要解决此问题,您可以升级到 Content Platform Engine 5.5.2 或更高版本,也可以通过完成以下过程来下载所需的 com.filenet.deployment.rcp_6.0.0.jar 文件。

过程

  1. 备份 FileNetEngine.ear 文件。
  2. Content Platform Engine 5.5.2 或更高版本环境创建 com.filenet.deployment.rcp_6.0.0.jar 文件的副本。 将其放在 WebSphere中已部署的 Content Platform Engine 应用程序的未压缩 .EAR 中。 例如,文件路径可能如下所示:
    C:\IBM\WebSphere\AppServer\profiles\CPEsrv01\installedApps\FD-551Oracle1Cell01\FileNetEngine.ear\client-download.war\FileNet\Download\dap551.1021\FDM\com.filenet.deployment.rcp_6.0.0.jar
  3. 在未压缩的 .EAR 文件夹中,返回到 .EAR 目录 \FileNetEngine.ear\client-download.war\WEB-INF。 创建文件 package.xml 的副本,并将此副本作为备份从未压缩的 .EAR 文件中移出。
  4. 打开 package.xml 文件,并在 IBM FileNet® Deployment Manager "集成" 部分下添加以下行:
    <component type="jar">/FileNet/Download/dap551.1021/FDM/com.filenet.deployment.rcp_6.0.0.jar</component>
    <value type="classpath">com.filenet.deployment.rcp_6.0.0.jar</value>
    例如,该部分可能如下所示:
    <description>FileNet Deployment Manager Integration</description>
    <buildnumber>dap551.1021</buildnumber>
    <language>java</language>
    <applicationservertype>WebSphere</applicationservertype>
    <keyfile>imex.jar</keyfile>
    <components>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/com.filenet.deployment.common_6.0.0.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/com.filenet.deployment.engine_6.0.0.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/com.filenet.deployment.modules_6.0.0.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/com.filenet.deployment.rcp_6.0.0.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/zipfile6or7_7.0.0.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/zipfile6or7_6.0.0.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/imex.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/derby.jar</component>
    <component type="jar">listener.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/stax-api.jar</component>
    <component type="jar">xlxpScanner.jar</component>
    <component type="jar">xlxpScannerUtils.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/org.eclipse.osgi_3.11.3.v20170209-1843.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar</component>
    <component type="jar">/FileNet/Download/dap551.1021/FDM/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar</component>
    </components>
    <configuration>
    <value type="classpath">com.filenet.deployment.common_6.0.0.jar</value>
    <value type="classpath">com.filenet.deployment.engine_6.0.0.jar</value>
    <value type="classpath">com.filenet.deployment.modules_6.0.0.jar</value>
    <value type="classpath">com.filenet.deployment.rcp_6.0.0.jar</value>
    <value type="classpath">zipfile6or7_7.0.0.jar</value>
    <value type="classpath">Jace.jar</value>
    <value type="classpath">imex.jar</value>
    <value type="classpath">derby.jar</value>
    <value type="classpath">pe.jar</value>
    <value type="classpath">peResources.jar</value>
    <value type="classpath">log4j-1.2.17.jar</value>
    <value type="classpath">listener.jar</value>
    <value type="classpath">stax-api.jar</value>
    <value type="classpath">xlxpScanner.jar</value>
    <value type="classpath">xlxpScannerUtils.jar</value>
    <value type="classpath">org.eclipse.equinox.common_3.8.0.v20160509-1230.jar</value>
    <value type="classpath">org.eclipse.osgi_3.11.3.v20170209-1843.jar</value>
    <value type="classpath">org.eclipse.core.runtime_3.12.0.v20160606-1342.jar</value>
    <value type="classpath">org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar</value>
    </configuration>
    </feature>
  5. 保存更改并刷新用于 Administration Console for Content Platform Engine的浏览器。
  6. Administration Console for Content Platform Engine下载 com.filenet.deployment.rcp_6.0.0.jar 文件。
  7. 确保 .JAR 文件显示在 IBM FileNet Deployment Manager 集成部分中。