Configuring XCT with wsadmin scripting

You can configure Cross-Component Trace (XCT) using wsadmin scripting. Use the examples in this topic as a guide to build your own wsadmin scripts.

About this task

XCT annotates the logs so that log entries that are related to a request that is serviced by more than one thread, process, or even server are identified as belonging to the same unit of work. You can configure XCT using the administrative console, or using wsadmin scripting. The examples in this topic show how to configure XCT using wsadmin. If you complete this task using the deployment manager, then you might need to synchronize the node agent on the target node and restart the server before configuration changes take effect.
Table 1. Variable Names. The table applies to all examples in this topic. All examples use the Jython scripting language.
Variable Description
myCell The name of the cell
myNode The host name of the node
myServer The name of the server

Procedure

Results

XCT is now configured. If you made changes with the AdminConfig command, restart the server to make the changes take effect.

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:17
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=ttrb_confXTCwsadmin
檔名:ttrb_confXTCwsadmin.html