WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 作業系統: AIX, HP-UX, Linux, Solaris, Windows

配置預設事件傳訊

非同步事件傳輸的預設傳訊配置使用 WebSphere ESB 預設傳訊特性作為 「Java 訊息服務 (JMS)」提供者。

執行這項作業的原因和時機

default-event-message.jacl Script 提供一種方式, 供您快速設定以 WebSphere 預設傳訊特性來作為 JMS 提供者的預設傳訊配置。這個 Script 會設定進行非同步事件傳輸所需的所有配置物件:

若要配置預設傳訊,請執行下列動作:

這項作業的步驟

  1. 移至設定檔(其中定義您想配置預設傳訊的 WebSphere ESB 執行時期環境)的 profile_path/event/application 目錄。 (請將 profile_path 換成內含 WebSphere ESB 設定檔的目錄路徑。)
  2. 使用 wsadmin 指令執行 default-event-message.jacl Script:
    For Windows platforms Windows 系統
    profile_path\bin\wsadmin [conntype -none] -profile event-profile.jacl
      -f default-event-message.jacl -action action -earfile event-message.ear
      -node node_name -server server_name
      [-cluster cluster_name] [-appname app_name] [-trace]
    LINUX platforms For AIX platforms Linux 和 UNIX 系統
    profile_path/bin/wsadmin.sh [conntype -none] -profile event-profile.jacl
      -f default-event-message.jacl -action install -earfile event-message.ear
      -node node_name -server server_name
      [-cluster cluster_name] [-appname app_name] [-trace]
    參數如下:
    node_name
    傳訊應用程式部署所在的 WebSphere ESB 節點。若要判斷節點名稱,請執行下列動作:
    1. 執行 profile_path/bin/setupCmdLine Script。
    2. 執行 echo $WAS_NODE(Linux/UNIX 系統)或 echo %WAS_NODE%(Windows 系統)指令。
    此值有區分大小寫。如果您要將應用程式部署在叢集中, 請省略此參數。
    server_name
    傳訊應用程式部署所在的 WebSphere 伺服器。此值有區分大小寫。如果您要將應用程式部署在叢集中, 請省略此參數。
    cluster_name
    傳訊應用程式部署所在的 WebSphere 叢集。只有在您要將傳訊配置在叢集中, 且您並未指定節點和伺服器時,才需指定此參數。
    註: 預設傳訊配置採用 Cloudscape 事件資料庫。Cloudscape 資料庫在正式作業環境中不支援叢集作業。您可以使用 WebSphere Process Server 管理主控台來指定不同的傳訊引擎,以指定一個會連接支援多項連線之事件資料庫的資料來源。
    app_name
    傳訊企業應用程式要用的名稱。這是選用參數;預設值是 EventServerMdb

    -trace 選用參數會使更多的除錯資訊顯示在標準輸出中。

    註:
    • 如果您在 event-message.ear 檔位置方面指定一個完整路徑, 請確定您在路徑中使用的是正斜線 (/)(即使您使用的是 Windows 系統)。
    • 如果您將傳訊應用程式部署在獨立式節點上, 請指定 -conntype none 選用參數,以便在本端模式下執行 wsadmin
    啟動 Script 之後,系統會提示您輸入 JMS 使用者 ID 和密碼。

Task topic

使用條款 | 此頁的評等

時間戳記圖示前次更新: 5 Mar 2006
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc.nl1_6.0.1\doc\tcei_install_configureDefaultMessaging.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
本資訊中心採用 Eclipse 技術。(http://www.eclipse.org)