WSO2 Developer’s Guide
上QQ阅读APP看书,第一时间看更新

Starting/stopping WSO2 EI Broker

The procedure to start this component is quite similar to the WSO2 IE one; we just need to follow these steps:

  1. From Command Prompt (Windows) or shell (Linux), go to the <EI_HOME>/wso2/ broker/bin directory.
  2. Type the following command:
    • On Linux or macOS: sh.wso2server.sh
    • On Windows: wso2server.bat
  1. You will see a log that the boot up is generating. The server will start up when you see a message log as shown:
      WSO2 Carbon started in X sec   
  1. We will also see a URL to access the WSO2 EI console in a message, as illustrated:
      Mgt Console URL  : https://<EI HOST>:9446/carbon/    

The same considerations for accessing WOS2 EI Management Console are valid here, so we will browse to https://localhost:9446/carbon. Take a look at the following screenshot:

WSO2 EI Broker Home

WSO2 EI Broker can be shut down/restarted using the console. We can find this option in the Main tab by clicking on the Shutdown/Restart option. We also can shut down the product this way:

  • On Windows: Using CTRL+C in the command window
  • On Linux/macOS: Using sh wso2server.sh stop from the <EI_HOME>/wso2/ broker/bin directory