確定 WebSphere Commerce 已啟動

WebSphere Commerce Studio WebSphere Commerce Studio 中不會提供 SystemOut.log 檔。「主控台」檢視畫面的內容含有此處討論的訊息。

如果要確定 WebSphere Commerce 已啟動,請執行下列步驟:

  1. 以文字編輯器開啟下列的日誌檔:

    WAS_installdir/logs/server_name/SystemOut.log
    iSeriesWAS_userdir/logs/server_name/SystemOut.log

    其中 server_name 為 WebSphere Commerce 應用程式伺服器的名稱。WebSphere Commerce 應用程式伺服器的名稱恆為 WC_instance_name;其中 instance_name 為 WebSphere Commerce 實例的名稱。

  2. 確定日誌檔中沒有任何 Java 異常狀況。
  3. 確定靠近日誌檔尾端有出現下列文字:
      WSVR0221I: 已啟動應用程式:WC_instance_name
      .
      .
      .
      .
      .
      WSVR0001I: 伺服器 WC_instance_name 已開啟以進行電子商務
    
    其中 instance_name 為 WebSphere Commerce 實例的名稱。

    WebSphere Commerce Studio 在「主控台」檢視畫面中, WC_instance_name 會換成 server1

    附註:在此省略一些出現在日誌檔中的文字,以便突顯相關的訊息。

如果您曾使用 WebSphere Commerce 工具(像是:Accelerator、管理主控台與組織管理主控台)來執行任何作業, 日誌檔中的這些行後面可能含有一些文字。

如果 WebSphere Commerce 啟動失敗,您會在近日誌檔尾端看到類似如下的訊息:

  WSVR0101W: 啟動 WC_instance_name 時發生錯誤
  WSVR0217I: 正在停止應用程式:WC_instance_name
  .
  .
  WSVR0220I: 已停止應用程式:WC_instance_name
  .
  .
  WSVR0003E: 伺服器 WC_instance_name 啟動失敗。

其中 instance_name 為 WebSphere Commerce 實例的名稱。

WebSphere Commerce Studio 在「主控台」檢視畫面中, WC_instance_name 會換成 server1

附註:在此省略一些出現在日誌檔中的文字,以便突顯相關的訊息。