安裝「檔案計劃匯入匯出」工具之後,您必須以 WebSphere® Application Server 實例的相關值編輯指令檔,來配置該工具。
不同版本 WebSphere Application Server 需要對指令檔做不同的修改。
指令檔是 FilePlanTool.bat。
WebSphere Application Server 或 WebSphere Application Server 用戶端必須已安裝在您安裝「檔案計劃匯入匯出」工具的伺服器上,並可供使用。
如果要配置指令檔,請執行下列動作:
- 登入您已安裝檔案計劃匯入匯出工具的伺服器。
- 備份 FilePlanTool.bat 檔。
預設位置是 ier_install_path/FilePlanImportExportTool/FilePlanTool.bat。
- 在文字編輯器中開啟 FilePlanTool.bat 檔,並進行下列變更:
- 搜尋 APP_SERVER= 參數,並將其值設定為 WebSphere。 例如:set APP_SERVER=WebSphere
- 在 WebSphere Server 區段中,搜尋 WS_DIR 參數,並將其值設定為安裝 WebSphere Application Server 或 WebSphere Application Server 用戶端的目錄。 例如:set WS_DIR=C:/Program Files/IBM/WebSphere/AppServer
- 在 WebSphere Server 區段中,搜尋 NAMING_PROVIDER_URL= 參數,並以下列格式將其值設定為 Content Engine 伺服器的 URL: set NAMING_PROVIDER_URL=iiop://CE
Server:port#
- 在 WebSphere Server 區段中,搜尋 CORBA_CONFIGURL= 參數,並將其值設定為 sas.client.props 檔的位置:
- WebSphere Application Server 6.0 或更舊版本。
set CORBA_CONFIGURL=-Dcom.ibm.CORBA.ConfigURL=
"file:%WS_DIR%/profiles/default/properties/
sas.client.props"
- WebSphere 用戶端
set CORBA_CONFIGURL=-Dcom.ibm.CORBA.ConfigURL=
"file:%WS_DIR%/properties/sas.client.props"
- WebSphere Application Server 6.1 和 7.0
set CORBA_CONFIGURL=-Dcom.ibm.CORBA.ConfigURL=
"file:%WS_DIR%/profiles/AppSrv01/properties/
sas.client.props"
- (有 SSL 的 WebSphere Application Server 6.1)將 ssl.client.props 新增至 JVA_ARGS 參數。
將下列程式碼新增至 RunTool 行之前:
set JVA_ARGS=%JVA_ARGS% -Dcom.ibm.SSL.ConfigURL
="file:%WS_DIR%/profiles/AppSrv01/properties/
ssl.client.props"