如果要啟動應用程式伺服器,請執行下列步驟:
- 以具備管理者權限的 Windows 使用者 ID 登入。
- 啟動一個指令提示階段作業。
- 請發出下列指令:
cd WAS_installdir\bin startServer server_name
其中:
- WAS_installdir
- WebSphere Application Server 的安裝目錄。
- server_name
- 您想啟動的應用程式名稱。此參數有區分大小寫 - 請確定應用程式伺服器名稱拼字中的大小寫正確。
應用程式伺服器的名稱如下:
應用程式 應用程式伺服器名稱 WebSphere Commerce WC_commerce_instance_name WebSphere Commerce Payments payments_instance_name_Commerce_Payments_Server 其中 commerce_instance_name 為 WebSphere Commerce 實例的名稱, payments_instance_name 為 WebSphere Commerce Payments 實例的名稱。
預設 WebSphere Commerce 實例名稱為 demo,因此 預設 WebSphere Commerce 應用程式伺服器的名稱為 WC_demo。
WebSphere Commerce Payments 實例的預設名稱為 wpm, 因此預設 WebSphere Commerce Payments 應用程式伺服器的名稱為 wpm_Commerce_Payments_Server。
當出現下列訊息時,表示應用程式伺服器已順利啟動:
伺服器 server_name 已開啟以進行電子商務
- 檢查應用程式伺服器日誌檔, 確定應用程式伺服器以及在應用程式伺服器內執行的應用程式已啟動, 且未發生任何錯誤。
如果要停止應用程式伺服器,請執行下列步驟:
- 以具備管理者權限的 Windows 使用者 ID 登入。
- 啟動一個指令提示階段作業。
- 請發出下列指令:
cdWAS_installdir\bin
stopServerserver_name其中:
- WAS_installdir
- WebSphere Application Server 的安裝目錄。
- server_name
- 您想停止的應用程式伺服器名稱。此參數有區分大小寫 - 請確定應用程式伺服器名稱拼字中的大小寫正確。
應用程式伺服器的名稱如下:
應用程式 應用程式伺服器名稱 WebSphere Commerce WC_commerce_instance_name WebSphere Commerce Payments payments_instance_name_Commerce_Payments_Server 其中 commerce_instance_name 為 WebSphere Commerce 實例的名稱, payments_instance_name 為 WebSphere Commerce Payments 實例的名稱。
預設 WebSphere Commerce 實例名稱為 demo,因此 預設 WebSphere Commerce 應用程式伺服器的名稱為 WC_demo。
WebSphere Commerce Payments 實例的預設名稱為 wpm, 因此預設 WebSphere Commerce Payments 應用程式伺服器的名稱為 wpm_Commerce_Payments_Server。
當出現下列訊息時,表示應用程式伺服器已順利停止:
伺服器 server_name 已順利停止
- 檢查應用程式伺服器日誌檔, 確定應用程式伺服器以及在應用程式伺服器內執行的應用程式已停止, 且未發生任何錯誤。