6.20 cjtracesync (synchronize trace file information for in-process HTTP server)
This section describes the cjtracesync command, which synchronizes the trace files used by the in-process HTTP server.
Format
cjtracesync [-h] [-thr|-comm] server-name
Function
When the in-process HTTP server is used, this command synchronizes the thread trace and communication trace information with the information in the shared memory. When the in-process HTTP server is being used and you want to obtain failure information without using Management Server functionality, execute this command immediately before obtaining the information.
Arguments
- -h
-
Displays the command's usage.
- -thr
-
Specifies that thread trace information is to be retrieved. If the -thr option and the -comm option are both omitted, the command updates the information for both the thread trace and the communication trace.
- -comm
-
Specifies that communication trace information is to be retrieved. If the -thr option and the -comm option are both omitted, the command updates the information for both the thread trace and the communication trace.
- server-name
-
Specifies the name of the J2EE server for which trace information is to be retrieved. A server name must be specified.
Return values
- 0:
-
The command terminated normally.
- 1:
-
The command terminated abnormally.
- 9:
-
The command could not be executed because there are no administrator privileges (in Windows).