Apama Predictive Analytics Add-on Documentation 10.0 : Working with Sample Project : Running the sample project in Apama command prompt
Running the sample project in Apama command prompt
Before you can run any of the Apama tools, you must set up the environment correctly. See "Setting up the environment using the Apama Command Prompt" in Deploying and Managing Apama Applications.
To run the sample project in Apama command prompt
1. Change to directory to the location where the sample project is located.
2. Start the correlator with Java support enabled:
correlator --java
3. Inject the required monitors:
engine_inject --java
"$APAMA_HOME/adapters/lib/Predictive-Analytics-Plugin.jar"
engine_inject --cdp
"$APAMA_HOME/adapters/monitors/predictive_analytics_plugin_monitors.cdp"
4. Inject the MonitorScript file to run the sample:
engine_inject "monitors/EnergyDataSample.mon"
5. Send the EPL application as input to the sample:
engine_send "events/EnergyData.evt"
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback