Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Starting the TIBCO BusinessEvents Agents and Sending Events

To start, you can simply open the example `readme.html` file and follow instructions there.

Tip: 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/FraudDetectionCache and open `readme.html` in your browser. Follow the instructions in the readme file to start two engines and send events to the inference agent.

See Import of Existing Projects into Your Workspace to understand the requirements for using the interactive readme file.

Procedure
1. Open a command window and at the command prompt, start the TIBCO BusinessEvents engine using the following command.
   This command starts the cache agent. Locations specified are those of the provided configured example. Substitute your values for BE_HOME, and the location of the EAR and CDD files (It can be convenient to copy the CDD from your workspace to the same location where you saved the EAR file.):

       cd BE_HOME/examples/standard/FraudDetectionCache
       BE_HOME/bin/be-engine --propFile BE_HOME\bin\be-engine.tra -u cache -c FraudDetectionCache/fdcache.cdd fdcache.ear

   For example, if you are simply running the provided example, you would use this command line to start the cache agent:

       c:/tibco/be/6.3/bin/be-engine --propFile c:/tibco/be/6.3/bin/be-engine.tra -u cache -c FraudDetectionCache/fdcache.cdd fdcache.ear

2. When the cache agent has started, open a second command window, and start the inference agent in a similar way. Again, locations specified are those of the provided pre-configured example.

       cd BE_HOME/examples/standard/FraudDetectionCache
       BE_HOME/bin/be-engine --propFile BE_HOME\bin\be-engine.tra -u cache -c FraudDetectionCache/fdcache.cdd fdcache.ear

   For example, if you are simply running the provided example, you would use this command line to start the cache agent:

       c:/tibco/be/6.3/bin/be-engine --propFile c:/tibco/be/6.3/bin/be-engine.tra -u cache -c FraudDetectionCache/fdcache.cdd fdcache.ear

       cd BE_HOME/examples/standard/FraudDetectionCache
       BE_HOME/bin/be-engine --propFile BE_HOME\bin\be-engine.tra -u default -c FraudDetectionCache/fdcache.cdd fdcache.ear

   For example, if you are simply running the provided example, you would use this command line:

       c:/tibco/be/6.3/bin/be-engine --propFile c:/tibco/be/6.3/bin/be-engine.tra -u default -c FraudDetectionCache/fdcache.cdd fdcache.ear

3. Optional Activity
   Start a second cache agent. Experiment with stopping one cache agent engine then restarting it again, to see how one cache agent can operate successfully. Because one backup copy of the data is kept, and there are two cache agents, each cache agent has the complete cache contents. In a production system with more cache agents no single cache agent has all the cache data.

ResultCongratulations — You have completed the caching tutorial!

You can now continue to Backing Store Tutorial.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.