• Tuxedo is enhanced to support ECID propagation from its 12c (12.1.1) release. As Figure 19‑1 shows, it supports the propagation of ECID across various Tuxedo boundaries.Figure 19‑1 ECID PropagationECID can also be propagated between Tuxedo and WLS* when using Web Services through the SALT gateway (GWWS), either in SOAP or REST mode, and regardless of direction (Tuxedo calling WLS or WLS calling Tuxedo). In this mode, the ECID will be included in an HTTP header in the same manner as WLS* uses to propagate ECID contexts with other Oracle products.
Note: * WLS should be WLS 12c (12.1.3) or higher releases of WLS.The ECID propagation within Tuxedo (both intra-domain and across domains) utilizes the META_TCM field in the messages. Tuxedo client, server, and domain gateway are all enhanced to support to get or set ECID in META_TCM section of a message.
•
• There are three domains: DOM1, DOM2 and DOM3. DOM1 and DOM3 are in Oracle Tuxedo 12c, DOM2 is in Tux11gR1; DOM1 enables both ECID_USERLOG and ECID_CREATE but DOM3 only enables ECID_USERLOG.In RESOURCES section of UBBCONFIG(5), the OPTIONS field is extended with new flags to enable and specify the behavior for handling the ECID.Option 'ECID_CREATE': ECID creation functionality is enabled. The boundary nodes (including Native/WS/Jolt client and domain gateway) can generate the ECID.Option 'ECID_USERLOG': With this option on, if not a null string, the ECID will be appended to the userlog.If neither of above options is set, the ECID propagation around Tuxedo is enabled by default, but ECID can neither be created nor printed in ULOG in this domain. In such scenario, "tmadmin > psr -v" can be used to get the ECID. The two of above options can also be updated by MIB operation.To perform ECID propagation to Oracle DB via OCI callback functions, the related server must be specified by a “-L” option. For example:Once activated with a specified "–L", a server will call the registration API of OCI for ECID propagation.-LD or -L defaultLoads the OCI library with the name specified by oci_lib_name. Such oci_lib_name can be an absolute path or a leaf name, which can be found through the system library path.The userlog is enhanced to print out the ECID of current active call if 'ECID_USERLOG' is configured in UBBCONFIG. For example:The tmadmin printserver (psr -v) command is enhanced to print out ECID if the server is currently in service. For example: