Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Project Design Tutorial : Start the Engine and Send Events

Start the Engine and Send Events
The format for starting an engine at the command-line is as follows:

 
BE_HOME/bin/be-engine [-h] [--propFile startup property file] [--propVar varName=value][-p custom property file] [-n engine name] [-d] -c CDD file -u processing unit ID   EAR file

 
More Information
For a detailed explanation of the above format see Starting a TIBCO BusinessEvents Engine at the Command Line in TIBCO BusinessEvents Administration.
Task T Start the Application at the Command Line
You can simply open the example readme.html file and follow instructions there. In order to send events into the engines, you must enter information into the forms provided in the readme.
Navigate to BE_HOME/examples/standard/FraudDetection and open readme.html in your browser. Follow the instructions in the readme file to start the engine and send events to the inference agent.
See Dependency of Interactive Readme File on a Higher Level Directory to understand the requirements for using the interactive readme file.
Open a command window and at the command prompt, start the TIBCO BusinessEvents engine using the following command. Locations specified are those of the provided configured example. Substitute your values for BE_HOME, and the location of the EAR and CDD files:

 
cd BE_HOME/examples/FraudDetection
BE_HOME/bin/be-engine --propFile BE_HOME\bin\be-engine.tra -u default -c FraudDetection/fd.cdd fd.ear

 
It can be convenient to copy the CDD from your workspace to the same location where you saved the EAR file.
Congratulations!
You have completed the tutorial and now understand the basics of project design and deployment. Next you can undertake the tutorial provided in Chapter 3, Cache OM Tutorial.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved