安装“归档计划导入导出”工具后,您必须通过使用与 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"
- (WebSphere Application Server 6.1 使用 SSL)将 ssl.client.props 添加至 JVA_ARGS 参数。
在 RunTool 行前添加以下代码:
set JVA_ARGS=%JVA_ARGS% -Dcom.ibm.SSL.ConfigURL
="file:%WS_DIR%/profiles/AppSrv01/properties/
ssl.client.props"