To run WSO2 products, you start the product server at the command line. You can then run the Management Console to configure and manage the product.
...
- 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.
- 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/wso2server.sh
- On Windows:
To start the server in the background mode of Linux:
sh <CEP_HOME>/bin/wso2server.sh start
To stop the server running in this mode, you will enter:sh <CEP_HOME>/bin/wso2server.sh 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/wso2server.sh -DworkerNode
- On Windows:
- To check for additional options you can use with the startup commands, type
-help
after the command, such as:sh <CEP_HOME>/bin/wso2server.sh -help
(see the related topics section at the end of this page).
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".
Info |
---|
If you are running the CEP on a computing device that does not have a local display |
...
Code Block |
---|
ERROR
{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 |
...
such as Amazon AWS EC2 instance. You need to enable headless property by adding the following system property to the start-up script located in below locations:
|
Running the Management Console
...
sh <CEP_HOME>/bin/wso2server.sh stop
Excerpt | ||
---|---|---|
| ||
Related topicsNOTE TO WRITERS: copy this content manually to your change and add relative links to the appropriate pages within your document. If you do not have an HTTP-NIO Transport page in your doc, point to the page in the relevant version of the Carbon docs.
|