8.6.2 Trace collection points of a Web container when an exception occurs (filter trace)
- Organization of this subsection
(1) Trace collection points and PRF trace collection levels
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
|
Event ID |
No. in the figure# |
Trace acquisition points |
Level |
|---|---|---|---|
|
0x8202 |
3 |
Immediately before a servlet or JSP is invoked |
A/B |
|
0x8202 |
8 |
Immediately before a servlet or JSP is invoked |
A/B |
|
0x8203 |
2 |
Immediately before the filter that is executed before the execution of the servlet or JSP that receives the request is invoked (filter for which the <dispatcher> tag of the <filter-mapping> tag of web.xml is omitted, or for which REQUEST is specified in the <dispatcher> tag) |
B |
|
0x8206 |
6 |
Immediately before a servlet or JSP is invoked via RequestDispatcher |
B |
|
0x8207 |
8 |
Immediately before the static contents are invoked (DefaultServlet) |
B |
|
0x8216 |
7 |
Immediately before the filter that is executed during transfer to the error page is invoked (filter for which ERROR is specified in the <dispatcher> tag of the <filter-mapping> tag of web.xml) |
B |
|
0x8236 |
1 |
Immediately after a request is acquired, or when the request header analysis is complete |
A |
|
0x8302 |
4, 9 |
Immediately after completion of the processing of the servlet or JSP |
A/B |
|
0x8303 |
5 |
Immediately after completion of the processing of the filter that is executed before the execution of the servlet or JSP that receives the request (filter for which REQUEST is specified in the <dispatcher> tag of the <filter-mapping> tag of web.xml) |
B |
|
0x8306 |
11 |
Immediately after completion of the processing of the servlet or JSP via RequestDispatcher |
B |
|
0x8307 |
9 |
Immediately after completion of the processing of the static contents (DefaultServlet) |
B |
|
0x8316 |
10 |
Immediately after completion of the processing of the filter executed during transfer to the error page (filter for which ERROR is specified in the <dispatcher> tag of the <filter-mapping> tag of web.xml) |
B |
|
0x8336 |
12 |
Immediately after the completion of request processing |
A |
- Legend:
-
A: Standard
B: Advanced
A/B: Different information is collected for the Standard and Advanced levels.
- #
-
Corresponds to the numbers in Figure 8-12.
The following figure shows the trace collection points in a Web container when an exception occurs.
|
|
(2) Trace information that can be collected
The following table describes the trace information that can be collected in a Web container, when the filter that is invoked during Forward or Include is specified.
|
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
|---|---|---|---|---|---|
|
Interface name |
Operation name |
Optional |
|||
|
1 |
0x8236 |
A |
HTTP method |
URI |
Value for the request header name specified in the property (none if the header name is not specified) |
|
2 |
0x8203 |
B |
Class name |
Context root name |
Number-of-session-ID-characters: session-ID: number-of-global-session-ID-characters: global-session-ID |
|
3 |
0x8202 |
A |
Class name (JSP file name when a JSP is invoked) |
-- |
-- |
|
B |
Context root name |
Number-of-session-ID-characters: session-ID: number-of-global-session-ID-characters: global-session-ID |
|||
|
4 |
0x8302 |
A |
Class name (JSP file name when a JSP is invoked) |
-- |
|
|
B |
Context root name |
|
|||
|
5 |
0x8303 |
B |
Class name |
Context root name |
|
|
6 |
0x8206 |
B |
Class name |
Dispatch type Context root name |
Number-of-session-ID-characters: session-ID: number-of-global-session-ID-characters: global-session-ID |
|
7 |
0x8216 |
B |
Class name |
Context root name |
Number-of-session-ID-characters: session-ID: number-of-global-session-ID-characters: global-session-ID |
|
8 |
0x8202 |
A |
Class name (JSP file name when a JSP is invoked) |
-- |
-- |
|
B |
Context root name |
Number-of-session-ID-characters: session-ID: number-of-global-session-ID-characters: global-session-ID |
|||
|
0x8207 |
B |
-- |
Context root name |
Number-of-session-ID-characters: session-ID: number-of-global-session-ID-characters: global-session-ID |
|
|
9 |
0x8302 |
A |
Class name (JSP file name when a JSP is invoked) |
-- |
|
|
B |
Context root name |
|
|||
|
0x8307 |
B |
-- |
Context root name |
|
|
|
10 |
0x8316 |
B |
Class name |
Context root name |
|
|
11 |
0x8306 |
B |
Class name |
Dispatch type Context root name |
|
|
12 |
0x8336 |
A |
HTTP method |
URI |
Entrance-time status-code |
- Legend:
-
A: Standard
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-12.