Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. Open a command prompt by following the instructions below.
    • On Windows: Click Start -> Run, type cmd at the prompt, and then press Enter.
    • On Linux/Solaris/Mac OS: Establish an SSH connection to the server, log in to the text Linux console, or open a terminal window.
  2. Execute one of the following commands:
    • To start the server in a typical environment:
      • On Windows:  <CEP_HOME>\bin\wso2server.bat --run
      • On Linux/Solaris/Mac OS:  sh <CEP_HOME>/bin/

    • To start the server in the background mode of Linux: sh <CEP_HOME>/bin/ start
      To stop the server running in this mode, you will enter: sh <CEP_HOME>/bin/ stop

    • To provide access to the production environment without allowing any user group (including admin) to log into the Management Console:

      • On Windows: <CEP_HOME>\bin\wso2server.bat --run -DworkerNode
      • On Linux/Solaris/Mac OS: sh <CEP_HOME>/bin/ -DworkerNode
    • To check for additional options you can use with the startup commands, type -help after the command, such as:
      sh <CEP_HOME>/bin/ -help (see the related topics section at the end of this page).
  3. The operation log appears in the command window. When the product server has successfully started, the log displays the message "WSO2 Carbon started in 'n' seconds".


    If you are running the CEP on a computing device that does not have a local interfacedisplay, the following error may occur.

    Code Block
    {org.apache.catalina.core.StandardContext} - Exception sending context initialized event to listener instance of class org.apache.shindig.common.servlet.GuiceServletContextListener
    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

    In order to avoid this, add the following system property to the start-up script.