FileNet P8 Content Engine, 版本 5.0.+              

生成 deployapplication.xml 文件

deployapplication.xml 文件包含用于部署 Content Engine 应用程序的设置。您必须使用 generateConfig 命令来创建这个 XML 文件。

deployapplication.xml 文件是在您同时生成所有文件或者生成 deployapplication 任务时创建的。如果您同时生成所有文件,那么您已有 deployapplication.xml 文件,因此可以跳过本过程。

要生成 deployapplication.xml 文件,请完成下列步骤:

  1. config_mgr_user(即,将运行 Configuration Manager 的用户)身份登录到应用程序服务器。
  2. 将当前目录切换到 ce_install_path/tools/configure,其中 ce_install_pathContent Engine 的安装位置。
  3. 输入以下命令(请勿换行)以生成 deployapplication.xml 文件:
    configmgr_cl generateconfig -appserver app_server_type -deploy deploy_type
     -task deployapplication -profile myprofile
    其中:
    -appserver appserver_name
    -appserver appserver_type 指定应用程序服务器的类型,并且必须是 WebSphere®、WebLogic 或 JBoss。
    -deploy deploy_type
    只有在同时生成所有文件或者使用 deployapplication 选项来生成单一文件时,-deploy deploy_type 参数才是必需的。此参数指定 Content Engine 部署类型。值必须是 standardclusternetdeploy(网络部署)。

    如果您正在将 Content Engine 部署到独立 WebSphere Application ServerOracle WebLogic ServerJBoss Application Server(即,不是受管服务器或者集群服务器),请指定 standard

    如果您正在将 Content Engine 部署到 WebSphere Application ServerOracle WebLogic ServerJBoss Application Server集群,请指定 cluster

    如果您正在将 Content Engine 部署到受管 WebSphere Application Server 实例,请指定 netdeploy。即,您正在使用 Network Deployment 来管理各个不一定包含在集群中的服务器。

    -profile myprofile
    -profile myprofile 参数指定要使用的概要文件。myprofile 值可以是下列其中一项:
    • 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_pathContent Engine 软件的安装位置。
    • 概要文件目录的绝对路径,例如 "C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2"opt/IBM/FileNet/ContentEngine/tools/configure/profiles/ce_was_tiv_db2
    • 概要文件输入文件的绝对路径,例如 "C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2\ce_was_tiv_db2.cfg"opt/IBM/FileNet/ContentEngine/tools/configure/profiles/ce_was_tiv_db2/ce_was_tiv_db2.cfg
    切记: 如果此路径包含带有空格的目录名,请将整个路径括在引号中。例如,输入 "C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2\ce_was_tiv_db2.cfg"


反馈

最近一次更新时间: 2010 年 11 月


© Copyright IBM Corporation 2010.
本信息中心基于 Eclipse 技术。(http://www.eclipse.org)