3.4 Tracing

JSM tracing is very comprehensive. When you first start to develop your applications using JSM, it will be very helpful if you know how to use the tracing facilities.

All tracing output is stored in the trace sub-directory below the JSM instance directory.

Standard output and Standard error:

IBM i

If the shipped STRJSM program is used, then the standard output and standard error will be printed to the JSM output queue located in the JSM library.

 

Windows and Linux

If the shipped STRJSM program is used, then the standard output and standard error will be saved to the JSM instance as STDOUT.TXT and STDERR.TXT.

 A sub-directory named after the platform's job/process number is created to receive the trace file for the current JSM instance when tracing is requested.

The CLRJSM TRACEDIR(*YES) command allows the trace files and subdirectories to be removed. This command should be run when the instance is not running.

3.4.1 Manager Tracing

3.4.2 Connection Tracing

3.4.3 Service Tracing

3.4.4 Service Tracing from the Client

3.4.5 How Do I Start Tracing?

3.4.6 Where Do I Find Trace Files?

3.4.7 How Do I Clear Trace Files?