7.4.2 Request trace
In the messaging infrastructure of HCSC server, you can acquire the following contents as request trace. The request trace is used to analyze the cause of failure of requests.
-
Request for invoking service component received in request reception or response results
-
Requests when business process is invoked or response results
-
Requests when service components are invoked from the service adapter or response results
This section describes how to view the request traces that have been collected. For details about how to collect request traces, see 7.3.2(2) Collecting request traces.
- Organization of this subsection
(1) Output destination of request trace
Following is the output destination of request trace:
Path specified in the request trace-filepath property of the HCSC server runtime definition file.
If the specified path does not exist, or in case of an incorrect path, trace is output in the output destination of the omitted value.
The following table shows the trace file name of request trace:
Output mode of trace file |
Trace file name |
---|---|
For Wraparound mode |
cscmsgreq_<HCSC server name>_<number of files>.log |
For Shift mode |
cscmsgreq_<HCSC server name>_.log |
(2) Output format and contents of the request trace
(a) Output format
The following figure shows the output format of the request trace:
(b) Output contents
The following table lists and describes the contents output to the request trace:
Item |
Content |
|
---|---|---|
Number |
The request identification information (parent ID) is displayed. |
|
Date |
The trace record collection date (yyyy/mm/dd format) is output. |
|
Time |
The trace record collection time (hh:mm:ss.sss format) in milliseconds in local time is output. |
|
Product ID |
The "CSCMSG" that indicates the identifier messaging infrastructure to identify product is output. |
|
Pid |
The ID to identify the process is output. |
|
Tid |
The ID to identify the thread is output. |
|
ID |
Not displayed. |
|
Message common ID |
The request identification information (parent ID) is output. |
|
Service request ID |
The request identification information (child ID) is output. |
|
Collection point identification information |
Collection location |
The trace collection point (collection location) is output:
|
Protocol type |
The trace collection point information (protocol type) is output. However, the information is not displayed if the collection location is BPRCP, BPREQ, or SVCGP.
|
|
Detailed location |
The trace collection point information (detailed location) is output:
|
|
Name |
The trace collection point information (name) is output. However, the information is not displayed if the collection location is RCP, URCP, BPREQ, or SVRCV.
|
|
Adapter type |
The trace collection point information (adapter type) is output. However, the information is not displayed if the collection location is RCP, URCP, BPRCP, SVCGP, SVSND, or SVRCV.
|
|
Result |
The response result type is output. However, if the detailed location is IN or CAL, this information is not displayed.
|
|
Additional information |
The additional information for the response result is output. |
|
CRLF |
Record end code is output. |
(3) Request trace collection point
Timing of request trace output is of following types and the collection point differs for each type:
-
When executing individual services
-
When executing business process services
-
When checking the operating status
(a) When executing an individual service
The following figure shows the trace collection point of request when executing an individual service:
The following table lists trace collection points. The "Numbers in figure" in this table corresponds to the numbers in "Figure 7-8 Trace collection point of request (when executing individual services)".
Number in figure |
Trace collection point |
---|---|
1 |
Entry to standard reception (Web Services) |
2 |
Exit from standard reception (Web Services) |
1 |
Entry to standard reception (SessionBean) |
2 |
Exit from standard reception (SessionBean) |
1 |
Entry to standard reception (MDB(WS-R)) |
2 |
Exit from standard reception (MDB(WS-R)) |
1 |
Entry to standard reception (MDB(DB queue)) |
2 |
Exit from standard reception (MDB(DB queue)) |
3 |
Invocation of service components of SOAP adapter |
4 |
Point for receiving response from service components of SOAP adapter |
3 |
Invocation of service components of SessionBean adapter |
4 |
Point for receiving response from service components of SessionBean adapter |
3 |
Invocation of service components of MDB (WS-R) adapter |
4 |
Point for receiving response from service components of MDB (WS-R) adapter |
3 |
Invocation of service components of MDB(DB queue) adapter |
4 |
Point for receiving response from service components of MDB(DB queue) adapter |
3 |
Invocation of service components of service adapters(CUSTOM) other than those mentioned above |
4 |
Point for receiving response from service components of service adapters(CUSTOM) other than those mentioned above |
(b) When executing business process services
The following figure shows the trace collection point of the request trace when executing business process services:
The following table lists trace collection points. The "Numbers in figure" in this table corresponds to the numbers in "Figure 7-9 Trace collection point of request (when executing business process services)".
Number in figure |
Trace collection point |
---|---|
1 |
Entry to standard reception (Web Services) |
2 |
Exit from standard reception (Web Services) |
1 |
Entry to standard reception (SessionBean) |
2 |
Exit from standard reception (SessionBean) |
1 |
Entry to standard reception (MDB(WS-R)) |
2 |
Exit from standard reception (MDB(WS-R)) |
1 |
Entry to standard reception (MDB(DB queue)) |
2 |
Exit from standard reception (MDB(DB queue)) |
1 |
Entry to user-defined reception |
2 |
Exit from user-defined reception |
7 |
Invocation of service components of SOAP adapter |
8 |
Point for receiving response from service components of SOAP adapter |
7 |
Invocation of service components of SessionBean adapter |
8 |
Point for receiving response from service components of SessionBean adapter |
7 |
Invocation of service components of MDB (WS-R) adapter |
8 |
Point for receiving response from service components of MDB (WS-R) adapter |
7 |
Invocation of service components of MDB(DB queue) adapter |
8 |
Point for receiving response from service components of MDB(DB queue) adapter |
7 |
Invocation of service components of service adapters(CUSTOM) other than those mentioned above |
8 |
Point for receiving response from service components of service adapters(CUSTOM) other than those mentioned above |
3 |
Invocation of business process services |
4 |
Point for receiving response from business process services |
5 |
Entry to business process reception |
6 |
Exit from business process reception |
(c) When checking the operating status
The following figure shows the trace collection point of the request trace when checking the operating status:
The following table lists trace collection points. The "Number in figure" in this table corresponds to the numbers in "Figure 7-10 Trace collection point of request (when checking the operating status)".
Number in figure |
Trace collection point |
---|---|
1 |
Entry to standard reception (Web Services) |
2 |
Exit from standard reception (Web Services) |
1 |
Entry to SOAP reception |
2 |
Exit from SOAP reception |