![[IBM i]](../images/iseries.gif)
clientUpgrade 脚本
clientUpgrade 脚本用于迁移应用程序客户机模块及其在企业归档 (EAR) 文件中的资源,以使这些应用程序客户机能够在 WebSphere® Application Server V8.5 中运行。该脚本对要迁移的 EAR 文件进行转换,然后使用转换后的 EAR 文件来覆盖原始 EAR 文件。
以下标题提供了有关 clientUpgrade 脚本的信息。
注意: V6.1 中不推荐使用此命令。
类型 | 描述 |
---|---|
产品 | clientUpgrade 脚本仅可用于 WebSphere Application Server ( WebSphere Application Server Base) 产品。 |
权限 | 要运行此脚本,用户概要文件必须具有 *ALLOBJ 权限。 |
语法 | clientUpgrade 脚本的语法如下:
|
参数 | clientUpgrade 脚本的参数如下:
|
日志记录 | clientUpgrade 脚本在运行时显示状态。它还会将更广泛的记录信息保存到 clientupgrade.log 文件中。此文件位于 /QIBM/UserData/WebSphere/AppServer/V85/edition/profiles/default/logs 目录 中(对于使用缺省概要文件的缺省按照情况),或位于 -logFileLocation 参数指定的位置中。 |
这些示例显示了正确的语法。在此示例中,My51Application.ear 文件是从 WebSphere Application Server V5.1 迁移来的。脚本使用可以部署在 WebSphere Application Server V8.5 概要文件中的新文件来覆盖原始 EAR 文件。
clientUpgrade /My51Application/My51Application.ear
在此示例中,只迁移了客户机 JAR 文件 myJarFile.jar。脚本使用包含 myJarFile.jar 的 EAR 文件覆盖 My51Application.ear。您可以在 WebSphere Application Server 概要文件中部署新的 EAR 文件。
clientUpgrade /My51Application/My51Application.ear -clientJAR myJarFile.jar