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


Chapter 2 JVM-Level TRA File Configuration : Updating Classpath, Environment Variables, Path, and Copying JAR Files

Updating Classpath, Environment Variables, Path, and Copying JAR Files
At runtime the software uses the classpath set in the be-engine.tra file to locate the libraries (third-party libraries and custom function libraries) needed to execute the code. Ensure that you have added all the classpaths needed before you deploy.
For example, you must update the classpath to specify the locations of libraries for TIBCO Enterprise Message Service, TIBCO Rendezvous, third party software, and custom functions.
In some cases you must also copy the JAR files. If a JAR has dependencies on native libraries, edit BE_HOME/bin/be-engine.tra and as needed, update PATH LD_LIBRARY_PATH, SHLIB_PATH, and LIBPATH as needed, depending on the operating system.
For the design-time equivalent of these tasks, see Adding and Working with Launch (Debug or Run) Configurations and Enabling the Test Connection Feature in TIBCO BusinessEvents Developer’s Guide.
For TIBCO Enterprise Message Service and TIBCO Rendezvous Channels
If the software is installed locally, set the EMS_HOME variable or RV_HOME variable in the BE_HOME/bin/be-engine.tra files. The classpath already contains entries for these variables.
For JMS channels that use TIBCO Enterprise Message Service version 5, installed locally, you must change the existing setting in the be-engine.tra property tibco.env.STD_EXT_CP: Change %EMS_HOME%/clients/java to %EMS_HOME%/lib.
Local installation is the only option for TIBCO Rendezvous, which is not a pure Java API.
If TIBCO Enterprise Message Service is not installed locally, copy the jms-2.0.jar and tibjms.jar files to BE_HOME/lib/ext/tpcl. This location is specified in the standard classpath in the be-engine.tra file as shipped.
For WebSphere MQ Channels
Copy the copy the relevant JAR files and the binding file to the following directory:
BE_HOME/lib/ext/tpcl
This location is specified in the standard classpath in the be-engine.tra file as shipped.
For Integration with TIBCO ActiveMatrix BusinessWorks
For instructions on configuring the system to work with ActiveMatrix BusinessWorks, see Chapter 38, ActiveMatrix BusinessWorks Integration in TIBCO BusinessEvents Developer’s Guide.

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