The difference between AS_HOME and ACTIVESPACES_HOME in be-engine.tra

The difference between AS_HOME and ACTIVESPACES_HOME in be-engine.tra

book

Article ID: KB0072703

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 6.x

Description

What is the difference between AS_HOME and ACTIVESPACES_HOME in be-engine.tra? I see these are currently unset in my be-engine.tra:
 

#==========================================================
# Common environment variables.
#==========================================================
#

tibco.env.PSP=;
tibco.env.TIB_HOME=C:/tibco
tibco.env.BE_HOME=C:/tibco/be/6.2
tibco.env.AS_HOME=
tibco.env.RV_HOME=
tibco.env.EMS_HOME=
tibco.env.HAWK_HOME=
tibco.env.TERR_HOME=
tibco.env.FTL_HOME=
tibco.env.ACTIVESPACES_HOME=
tibco.env.ECLIPSE_PATH=eclipse
tibco.env.BE_ECLIPSE_HOME=%BE_HOME%/eclipse-platform/%ECLIPSE_PATH%
ECLIPSE_HOME=%TIBCO_CUSTOMER_ECLIPSE_DIR%

Environment

All Supported Environments

Resolution

AS_HOME is required if your Cache Provider is Legacy ActiveSpaces (2.x). If you are using the Legacy ActiveSpaces Cache Provider, set this to the path to your ActiveSpaces 2.x installation. For example:
 
tibco.env.AS_HOME=C:/tibco/as/2.4/
If you are using the Apache Ignite Cache Provider, AS_HOME is not required to be set in the be-engine.tra.

ACTIVESPACES_HOME is required if you are using ActiveSpaces (4.x) as the Persistence Store for your BE application. This is independent of the AS_HOME variable, and the value of ACTIVESPACES_HOME should only be set to a 4.x installation. For example, if you are using the Apache Ignite Cache Provider and an ActiveSpaces 4.x Persistence Store, you would only set ACTIVESPACES_HOME in be-engine.tra (leaving AS_HOME unset):

 
tibco.env.ACTIVESPACES_HOME=C:/tibco/as/4.6
If instead, you wish to use the Legacy ActiveSpaces (2.x) Cache Provider and an ActiveSpaces 4.x Persistence Store, you would set both AS_HOME and ACTIVESPACES_HOME in be-engine.tra:
 
# Path to Legacy ActiveSpaces (2.x) installation, to be used as the Cache Provider
tibco.env.AS_HOME=C:/tibco/as/2.4
# Path to ActiveSpaces (4.x) installation, to be used as the Persistence Store
tibco.env.ACTIVESPACES_HOME=C:/tibco/as/4.6

Issue/Introduction

Explains the difference between the AS_HOME and ACTIVESPACES_HOME environment variables that may be set in the be-engine.tra configuration file.