WSO2 Complex Event Processor is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

Versions Compared

Key

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

Follow the instructions below to install CEP on Linux.

Note

Before you begin:

  • See the known incompatibilities section to find out if this version of the product has issues running on your OS due to the JDK version.
  • See the compatibility matrix to find out if this version of the product is fully tested on your operating system.

Installing the required applications

  1. Establish an SSH connection to the Linux machine or log in on the text Linux console.
  2. Be sure your system meets the Installation Prerequisites. Java Development Kit (JDK) is essential to run the product. 

Installing the CEP

  1. Download the latest version of the CEP.
  2. Extract the archive file to a dedicated directory for the CEP, which will hereafter be referred to as <CEP_HOME>.

Setting up JAVA_HOME
Anchor
JavaHome
JavaHome

You must set your JAVA_HOME environment variable to point to the directory where the Java Development Kit (JDK) is installed on the computer.

...

  1. In your home directory, open the BASHRC file in your favorite Linux text editor, such as vi, emacs, pico, or mcedit.
  2. Assuming you have JDK 1.7 in your system, add the following two lines at the bottom of the file, replacing /usr/java/jdk1.7 with the actual directory where the JDK is installed.

    Code Block
    export JAVA_HOME=/usr/java/jdk1.7
    export PATH=${JAVA_HOME}/bin:${PATH}
  3. Save the file.

    Info

    If you do not know how to work with text editors in a Linux SSH session, run the following command: cat >> .bashrc

    Paste the string from the clipboard and press "Ctrl+D."

  4. To verify that the JAVA_HOME variable is set correctly, execute the following command:
    echo $JAVA_HOME
  5. The system returns the JDK installation path.

Setting system properties

If you need to set additional system properties when the server starts, you can take the following approaches:

...