cjtracesync (synchronize trace file information for 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 Server 2012, Windows Server 2008, Windows 8, Windows 7, or Windows Vista).