安裝「檔案計劃匯入匯出」工具之後,您必須以 WebSphere® Application Server 實例的相關值編輯指令檔,來配置該工具。
不同版本 WebSphere Application Server 需要對指令檔做不同的修改。
指令檔是 FilePlanTool.sh。
WebSphere Application Server 或 WebSphere Application Server 用戶端必須已安裝在您安裝「檔案計劃匯入匯出」工具的伺服器上,並可供使用。
如果要配置指令檔,請執行下列動作:
- 備份 FilePlanTool.sh 檔。
預設位置是 ier_install_path/FilePlanImportExport/Tool/FilePlanTool.sh。
- 在文字編輯器中開啟 FilePlanTool.sh 檔,並進行下列變更:
- 搜尋 APP_SERVER= 參數,並將其值設定為 WebSphere。 例如:APP_SERVER=WebSphere
- 搜尋 WS_DIR= 參數,並將其值設定為安裝 WebSphere Application Server 或 WebSphere Application Server 用戶端的目錄。 例如:WS_DIR=/opt/IBM/WebSphere/AppServer
- 在 WebSphere Server 區段中,搜尋 NAMING_PROVIDER_URL= 參數,並以下列格式將其值設定為 Content Engine 伺服器的 URL: NAMING_PROVIDER_URL=iiop://CE
Server:port#
- 在 WebSphere Server 區段中,搜尋 CORBA_CONFIGURL= 參數,並將其值設定為 sas.client.props 檔的位置:
- WebSphere Application Server 6.0 或更舊版本。
CORBA_CONFIGURL=file:"$WS_DIR"/profiles/default/
properties/sas.client.props
- WebSphere 用戶端
CORBA_CONFIGURL=file:"$WS_DIR"/properties/
sas.client.props
- WebSphere Application Server 6.1 或 7.0
CORBA_CONFIGURL=file:"$WS_DIR"/profiles/AppSrv01/
properties/sas.client.props
- 導覽至 CORBA_CONFIGURL 參數所參照的 sas.client.props 檔。
以下列變更修改 sas.client.props 檔,使您在執行該工具時不需要登入 Content Engine:
- 將 com.ibm.CORBA.loginSource= 參數設為 none。 例如:com.ibm.CORBA.loginSource=none
- 儲存並關閉檔案。