Apama Predictive Analytics Plug-in 10.2 | Apama Predictive Analytics Plug-in Documentation 10.2 | 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-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release