Using ActiveMatrix BusinessWorks Engine Command Line to Run a ActiveMatrix BusinessWorks Project

In the absence of a GUI environment or a TIBCO Administrator to deploy a ActiveMatrix BusinessWorks project, you can test your project by using command line to run the ActiveMatrix BusinessWorks Engine and view the test results.

Note: To run a ActiveMatrix BusinessWorks project using the ActiveMatrix BusinessWorks Engine command line, provide an absolute path of your project location such as, <BW_HOME>/bin/bwengine<root directory of the BW project>.

Replace the following with the appropriate values as per your environment:

  • -propFile to use a different .tra file instead of bwengine.tra.

  • -name to provide name for the engine.

  • -p to specify props.cfg file which contains the engine properties.

Note: Use option "-name <descriptive name>" in the command line for providing each engine a descriptive name, when starting the ActiveMatrix BusinessWorks Engine using the command line. For example, if the descriptive name is "myproject", then a message "Engine myproject started" appears after the engine is started.

The commands to start the ActiveMatrix BusinessWorks Engine with the name option are:

  • bwengine <absolute path of the project> -name <name>

  • bwengine -propFile <tra file> <absolute path of the project> -name <name>

  • bwengine -propFile <tra file> -p <properties file> <absolute path of the project> -name <name>