Previous Topic: Multi-User Diagram Trace Utility SupportNext Topic: Regenerating Remote Files After Testing


Overriding the default trace environment variables

A client transaction can transfer the host and port of the client executing the transaction, enabling the server to establish communication with the Diagram Trace Utility running on the client workstation.

Follow these steps:

  1. Build the server application that was generated with trace.
  2. Leave the trace environment variables in the application.ini file on the server application's model directory commented out.
  3. Invoke the TP monitor that will manage the server application, TE, Tuxedo, or MQ Series.
  4. Invoke the Diagram Trace Utility on the client workstation.
  5. Edit the application.ini file in the client application's executables directory.
  6. Uncomment and set the trace environment variables. Use 'localhost' for the TRACE_HOST variable.
  7. Execute your client application.

    The Diagram Trace Utility on the client workstation traces the server for each transaction initiated from that client.