可以从命令行对 deployapplication.xml 配置 XML 文件运行 execute 命令,以在 Web 应用程序服务器上部署 Content Platform Engine 应用程序。
过程
要运行 deployapplication.xml 文件,请执行下列操作:
- 浏览到 ce_install_path/tools/configure,其中
ce_install_path 是 Content Platform Engine 的安装路径。
- 运行以下命令:
configmgr_cl execute -task DeployApplication -profile myprofile
其中,
-profile myprofile 参数指定要使用的概要文件。
myprofile 值可以是下列其中一项:
- 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_path 是 Content Platform 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"。