In BTT version 4.3, all the parameters for context are defined under
<kColl
id="context"> in des.ini, as shown in the following code sample:
<kColl id="contexts">
<field id="context" value="com.ibm.dse.base.Context"/>
</kColl>
After you migrate to BTT version 6.1.2, the definition
of Context and CHA contains client side CHA and server side CHA in btt.xml.
Following
is the code sample:
<!-- ======================================== -->
<!-- Context -->
<!-- ======================================== -->
<!-- Context is object defines and encapsulates a set of resources -->
<!-- (data and services) for functional or business organization entity. -->
<kColl id="Context" initializer="com.ibm.btt.base.ContextInitializer">
<field id="extFile" value="context.xml" />
<field id="initializer" value="com.ibm.btt.base.ContextInitializer"/>
<kColl id="classTable">
<field id="context" value="com.ibm.btt.base.LocalContextImpl"/>
</kColl>
<!-- Release below configuraton items, otherwise, keep them close -->
<!--field id="ejbInitialContextFactory"
value="com.ibm.websphere.naming.WsnInitialContextFactory"/-->
<!--field id="EJBProviderURL" value="iiop://remoteserverip:remoteserverport"/-->
<!-- Indicates the home interface of CHAEJB -->
<!--field id="CHASessionLocalHome" value="java:comp/env/ejb/CHASession"/-->
<!--field id="CHAInstanceLocalHome" value="java:comp/env/ejb/CHAInstance"/-->
<!--field id="CHAControlLocalHome" value="java:comp/env/ejb/CHAControl"/-->
<!--field id="CHASessionHome" value="ejb/com/ibm/btt/cha/ejb/CHASessionHome61"/-->
<!--field id="CHAInstanceHome" value="ejb/com/ibm/btt/cha/ejb/CHAInstanceHome61"/-->
<!-- Indicates the initialized context tree of CHA-->
<!--field id="initTailContextName" value="branchServer"/-->
<!-- Indicates whether to cleanup the context instance from the DB tables-->
<!--field id="cleanupCHAServer" value="true"/-->
<!--field id="isLocalCall" value="true"/-->
<!--field id="isPersistenceEnabled" value="false"/-->
</kColl>