安装“归档计划导入导出”工具后,您必须通过使用与 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
- 保存并关闭文件。