執行 ssopatch 之後,請在 Solaris 或 Linux 系統上執行 updateschema.sh,或在 Windows 系統上執行 updateschema.bat。該程序檔將更新 OpenSSO 伺服器版本、新增預設伺服器特性、增加 Update 2 中的錯誤修復和增強功能所需的新屬性模式。若要更新伺服器版本,您必須執行 updateschema。
updateschema.sh 或 updateschema.bat 程序檔需要 Update 2 版本 (或更高版本) 的 ssoadm 指令行公用程式。因此,在您執行此程序檔之前,請先安裝 Update 2 管理工具,如「Sun OpenSSO Enterprise 8.0 Update 1 Release Notes」中的第 3 章「Installing the OpenSSO Enterprise 8.0 Update 1 Admin Tools」中所述。
updateschema.bat 程序檔會執行若干個 ssoadm 指令。因此,在 Windows 系統上執行 updateschema.bat 之前,請為 amadmin 使用者建立一個包含純文字使用者密碼的密碼檔案。updateschema.bat 程序檔會提示您提供密碼檔案的路徑。該程序檔會在終止之前移除該密碼檔案。
變更到 patch-tools/patch 目錄,此處的 patch-tools 是您解壓縮 ssoPatchTools.zip 的位置。
執行 updateschema.sh 或 updateschema.bat。例如,在 Solaris 系統上:
./updateschema.sh
當程序檔提示您時,請提供以下資訊:
ssoadm 公用程式的完整路徑 (不包括 ssoadm 本身)。例如:/opt/ssotools/opensso/bin
amadmin 密碼
updateschema.sh 或 updateschema.bat 程序檔會將任何訊息或錯誤寫入標準輸出。
重新啟動 OpenSSO 8.0 Update 2 Web 容器。