clientUpgrade Script
clientUpgrade Script 會移轉企業保存檔 (EAR) 中的應用程式用戶端模組及其資源,以便這些應用程式用戶端可以在 WebSphere® Application Server 8.5中執行。 該 Script 會轉換您要移轉的 EAR 檔,然後以已轉換的 EAR 檔改寫原始 EAR 檔。
下列標題提供 clientUpgrade Script 相關資訊。
注意: 此指令在 6.1版中已淘汰。
| 任命的成員 | 說明 |
|---|---|
| 產品 | clientUpgrade Script 只能在 WebSphere Application Server ( WebSphere Application Server (基本程式)) 產品中使用。 |
| 權限 | 如果要執行這個 Script,您的使用者設定檔必須具備 *ALLOBJ 權限。 |
| 語法 | clientUpgrade Script 的語法如下: |
| 參數 | clientUpgrade Script 的參數如下:
|
| 記載 | clientUpgrade Script 會在執行時顯示狀態。 它也會將更廣泛的記載資訊儲存至 clientupgrade.log 檔。 此檔案位於 /QIBM/UserData/WebSphere/AppServer/V85/edition/profiles/default/logs 目錄中 (適用於使用預設設定檔的預設安裝) ,或位於-logFileLocation 參數指定的位置。 |
這些範例示範正確的語法。 在此範例中, My51Application.ear 檔案從 WebSphere Application Server 5.1版移轉, Script 會以您可以在 WebSphere Application Server Version 8.5 設定檔中部署的新檔案改寫原始 EAR 檔。
clientUpgrade /My51Application/My51Application.ear
在此範例中,只有myJarFile.jar已移轉用戶端 JAR 檔。 Script 改寫My51Application.ear具有包含下列項目的 EAR 檔:myJarFile.jar. 您可以在 WebSphere Application Server 設定檔中部署新的 EAR 檔。
clientUpgrade /My51Application/My51Application.ear -clientJAR myJarFile.jar