Event Processed
- by Antony Reynolds
Installing Oracle Event Processing 11g
Earlier this month I was involved in organizing the Monument Family History Day. It was certainly a complex event, with dozens of presenters, guides and 100s of visitors. So with that experience of a complex event under my belt I decided to refresh my acquaintance with Oracle Event Processing (CEP).
CEP has a developer side based on Eclipse and a runtime environment.
Developer Install
The developer install requires several steps (documentation)
Download required software
Eclipse (Linux) – It is recommended to use version 3.6.2 (Helios)
Install Eclipse
Unzip the download into the desired directory
Start Eclipse
Add Oracle CEP Repository in Eclipse
http://download.oracle.com/technology/software/cep-ide/11/
Install Oracle CEP Tools for Eclipse 3.6
You may need to set the proxy if behind a firewall.
Modify eclipse.ini
If using Windows edit with wordpad rather than notepad
Point to 1.6 JVM
Insert following lines before –vmargs
-vm
\PATH_TO_1.6_JDK\jre\bin\javaw.exe
Increase PermGen Memory
Insert following line at end of file
-XX:MaxPermSize=256M
Restart eclipse and verify that everything is installed as expected.
Server install
The server install is very straightforward (documentation). It is recommended to use the JRockit JDK with CEP so the steps to set up a working CEP server environment are:
Download required software
JRockit – I used Oracle “JRockit 6 - R28.2.5” which includes “JRockit Mission Control 4.1” and “JRockit Real Time 4.1”.
Oracle Event Processor – I used “Complex Event Processing Release 11gR1 (11.1.1.6.0)”
Install JRockit
Run the JRockit installer, the download is an executable binary that just needs to be marked as executable.
Install CEP
Unzip the downloaded file
Run the CEP installer, the unzipped file is an executable binary that may need to be marked as executable.
Choose a custom install and add the examples if needed.
It is not recommended to add the examples to a production environment but they can be helpful in development.
Voila The Deed Is Done
With CEP installed you are now ready to start a server, if you didn’t install the demoes then you will need to create a domain before starting the server.
Once the server is up and running (using startwlevs.sh) you can verify that the visualizer is available on http://hostname:port/wlevs, the default port for the demo domain is 9002.
With the server running you can test the IDE by creating a new “Oracle CEP Application Project” and creating a new target environment pointing at your CEP installation.
Much easier than organizing a Family History Day!