IBM Enterprise Records, 版本 5.1.+       應用程式伺服器:  WebSphere Application Server     

(WebSphere Application Server) 配置傳送工具

安裝「傳送」工具之後,您必須編輯指令檔來配置它。

如果要配置傳送工具,請執行下列動作:

  1. 登入您已安裝傳送工具的伺服器。
  2. 編輯 RMTransfer.bat 檔:
    • Windows
      應用程式伺服器 編輯
      WebSphere® Application Server(全部)
      1. 尋找 set APP_SERVER= 並輸入 WebSphere Application Server,如下所示:set APP_SERVER=WebSphere
      2. 確認 WS_DIR 指向安裝 WebSphere Application ServerWebSphere Application Server 用戶端的目錄。例如:set WS_DIR=C:/Program Files/IBM/WebSphere/AppServer
      3. 在 WebSphere Server 區段中,尋找 set NAMING_PROVIDER_URL= 參數,並以下列格式輸入 Content Engine 伺服器的 URL:
        set NAMING_PROVIDER_URL=iiop://CE Server:port#
      4. 在 WebSphere Server 區段中,尋找 set CONFIGURL= 參數,並根據 WebSphere Application Server 的版本,輸入 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 Application Server
        set CORBA_CONFIGURL=-Dcom.ibm.CORBA.ConfigURL=
        "file:%WS_DIR%/properties/sas.client.props"
        WebSphere Application Server Server 6.1 或 7.x
        set CORBA_CONFIGURL=-Dcom.ibm.CORBA.ConfigURL=
        "file:%WS_DIR%/profiles/AppSrv01/properties/
        sas.client.props"
      WebSphere Application Server 6.1 和 7.x(僅限 SSL) ssl.client.props 新增至 JVA_ARGS

      找到下面這一行:

      set JVA_ARGS=%JVA_ARGS% 
      -Dcom.ibm.CORBA.loginSource=none
      將下面這一行新增至您剛才找到的那一行後面:
      set JVA_ARGS=%JVA_ARGS% -Dcom.ibm.SSL.ConfigURL
      ="file:%WS_DIR%/profiles/AppSrv01/properties/
      ssl.client.props"
      • UNIX

        編輯 RMTransfer.sh 檔:

        應用程式伺服器 編輯
        WebSphere Application Server
        1. 尋找 set APP_SERVER= 參數,並輸入 WebSphere Application Server,如下所示:APP_SERVER=WebSphere
        2. 確認 WS_DIR 指向安裝 WebSphere Application Server 或用戶端的目錄。

          例如:WS_DIR=/opt/IBM/WebSphere/AppServer

        3. 在 WebSphere Server 區段中,尋找 NAMING_PROVIDER_URL= 參數,並以下列格式輸入 Content Engine 伺服器的 URL:NAMING_PROVIDER_URL=iiop://CE Server:port#
        4. 在 WebSphere Server 區段中,尋找 CORBA_CONFIGURL= 參數。

          如果 AppClient 已安裝或路徑不是預設路徑,請根據 WebSphere Application Server 版本指定 CORBA 配置檔路徑,並輸入 sas.client.props 檔的位置。

          例如:WebSphere Application Server 6.0 或更舊版本
          CORBA_CONFIGURL=file:"$WS_DIR"/profiles/default/
          properties/sas.client.props
          WebSphere Application Server Client
          CORBA_CONFIGURL=file:"$WS_DIR"/properties/
          sas.client.props
          WebSphere Application Server 6.1 或 7.x
          CORBA_CONFIGURL=file:"$WS_DIR"/profiles/AppSrv01/
          properties/sas.client.props
        WebSphere Application Server 6.1 和 7.x,根據 SSL 執行 在 java 指令行指定 com.ibm.SSL.ConfigURL 系統內容。 com.ibm.SSL.ConfigURL 內容參照的檔案 URL 指向 ssl.client.props 檔。 找到下面這一行:
        -Dcom.ibm.CORBA.ConfigURL="$CORBA_CONFIGURL" \ 
        將下面這一行新增至您剛才找到的那一行後面:
        -Dcom.ibm.SSL.ConfigURL=file:"$WS_DIR"
        /profiles/AppSrv01/properties/ssl.client.props \
  3. 當您執行該工具時不需要登入 Content Engine,如下所示:
    1. 編輯 CORBA_CONFIGURL 所指示的 sas.client.props 檔。
    2. 設定下列變數。
      com.ibm.CORBA.loginSource=none
    3. 儲存並關閉檔案。


意見

前次更新: 2011 年 8 月


© Copyright IBM Corp. 2011.
此資訊中心採用 Eclipse 技術。(http://www.eclipse.org)