You can use startup beans to initialize CHA server that runs on either
Rational® Application Developer or WebSphere® Integration Developer.
See CHA startup beans for details about initializing the CHA server with the startup beans.
In the btt.xml file, the initTailContextName setting identifies the leaf context in the initial context tree. The initial context tree is always linear in structure. The definition for the context is in the context definition file as show in the following example:
btt.xml
<?xml version="1.0"?> <btt.xml> <kColl id="cha"> <kColl id="classTable"> <field id="context" value="com.ibm.btt.base.LocalContextCreator"/> </kColl> ...... <field id="initTailContextName" value="branchServer"/> </kColl> </btt.xml>
dsectxt.xml
<context id="branchServer" type="branch" parent="nil"> <refKColl refId="branchServerData"/> </context> <context id="sessionCtx" type="session" parent="branchServer"> <refKColl refId="sessionData"/> </context>
In this example, the branchServer context is chained to the sessionCtx and both are in the database after the CHA server starts.