uCosminexus Application Server, Maintenance and Migration Guide
This subsection describes the trace collection points when the Session Bean is invoked asynchronously, and the trace information that can be collected.
In an asynchronous invocation, the output order of the event IDs output by the same thread is guaranteed, but the output order of the event IDs output by different threads is not guaranteed. Therefore, the following events might occur:
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-54 Details of the trace collection points when the Session Bean is invoked asynchronously from the local client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x8472 | 1 | Immediately after the EJB container receives a request (for a local invocation) | A |
0x8473 | 2 | Immediately before the EJB container sends a response (for a local invocation) | A |
0x84C0 | 3 | Immediately before the EJB container calls back the asynchronous business method of EJB | A |
0x84D6 | 4 | Immediately before the EJB container starts the asynchronous business method of EJB (for a local invocation) | A |
0x8409 | 5 | Immediately before the EJB container calls back the EJB business method | B |
0x840A | 6 | Immediately after returning from a callback of the EJB business method | B |
0x84D7 | 7 | Immediately after the asynchronous business method of EJB is terminated (for a local invocation) | A |
0x84C1 | 8 | Immediately after returning from a callback of the asynchronous business method of EJB | A |
The following figure shows the trace collection points when the Session Bean is invoked asynchronously from the local client.
Figure 8-34 Trace collection points when the Session Bean is invoked asynchronously from the local client
The following table describes the trace information that can be collected when the Session Bean is invoked asynchronously from the local client.
Table 8-55 Trace information that can be collected when the Session Bean is invoked asynchronously from the local client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x8472 | A | Bean name | Method name, number of arguments | -- |
2 | 0x8473 | A | Bean name | Method name, number of arguments |
|
3 | 0x84C0 | A | Class name of the Bean to be called back | Method name, number of arguments | Root application information at the source of an asynchronous method invocation |
4 | 0x84D6 | A | Class name of the Bean to be called back | Method name, number of arguments | -- |
5 | 0x8409 | B | Bean name | Method name, number of arguments | -- |
6 | 0x840A | B | Bean name | Method name, number of arguments |
|
7 | 0x84D7 | A | Class name of the Bean to be called back | Method name, number of arguments |
|
8 | 0x84C1 | A | Class name of the Bean to be called back | Method name, number of arguments |
|
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-56 Details of the trace collection points when the Session Bean is invoked asynchronously from the remote client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x8470 | 1 | Immediately after the EJB container receives a request (for a remote invocation) | A |
0x8471 | 2 | Immediately before the EJB container sends a response (for a remote invocation) | A |
0x84C0 | 3 | Immediately before the EJB container calls back the asynchronous business method of EJB | A |
0x84D8 | 4 | Immediately before the EJB container starts the asynchronous business method of EJB (for a remote invocation) | A |
0x8409 | 5 | Immediately before the EJB container calls back the EJB business method | B |
0x840A | 6 | Immediately after returning from a callback of the EJB business method | B |
0x84D9 | 7 | Immediately after the asynchronous business method of EJB is terminated (for a remote invocation) | A |
0x84C1 | 8 | Immediately after returning from a callback of the asynchronous business method of EJB | A |
The following figure shows the trace collection points when the Session Bean is invoked asynchronously from the remote client.
Figure 8-35 Trace collection points when the Session Bean is invoked asynchronously from the remote client
The following table describes the trace information that can be collected when the Session Bean is invoked asynchronously from the remote client.
Table 8-57 Trace information that can be collected when the Session Bean is invoked asynchronously from the remote client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x8470 | A | Bean name | Method name, number of arguments | -- |
2 | 0x8471 | A | Bean name | Method name, number of arguments |
|
3 | 0x84C0 | A | Class name of the Bean to be called back | Method name, number of arguments | Root application information at the source of an asynchronous method invocation |
4 | 0x84D8 | A | Class name of the Bean to be called back | Method name, number of arguments | -- |
5 | 0x8409 | B | Bean name | Method name, number of arguments | -- |
6 | 0x840A | B | Bean name | Method name, number of arguments |
|
7 | 0x84D9 | A | Class name of the Bean to be called back | Method name, number of arguments |
|
8 | 0x84C1 | A | Class name of the Bean to be called back | Method name, number of arguments |
|
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-58 Details of the trace collection points when get is invoked from the local client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x84C2 | 1 | When the processing of Future.get() starts (for a local invocation) | B |
0x84C3 | 2 | When the processing of Future.get() ends (for a local invocation) | B |
0x84C4 | 1 | When the processing of Future.get(long timeout, TimeUnit unit) starts (for a local invocation) | B |
0x84C5 | 2 | When the processing of Future.get(long timeout, TimeUnit unit) ends (for a local invocation) | B |
The following figure shows the trace collection points when get is invoked from the local client.
Figure 8-36 Trace collection points when get is invoked from the local client
The following table describes the trace information that can be collected when get is invoked from the local client.
Table 8-59 Trace information that can be collected when get is invoked from the local client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x84C2 | B | -- | -- | -- |
2 | 0x84C3 | B | -- | -- |
|
1 | 0x84C4 | B | -- | -- | Method name, argument information |
2 | 0x84C5 | B | -- | -- |
|
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-60 Details of the trace collection points when get is invoked from the remote client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x84C6 | 1 | When the processing of Future.get() starts (for a remote invocation) | B |
0x84C2 | 2 | When the processing of Future.get() starts (for a local invocation) | B |
0x84C3 | 3 | When the processing of Future.get() ends (for a local invocation) | B |
0x84C7 | 4 | When the processing of Future.get() ends (for a remote invocation) | B |
0x84C8 | 1 | When the processing of Future.get(long timeout, TimeUnit unit) starts (for a remote invocation) | B |
0x84C4 | 2 | When the processing of Future.get(long timeout, TimeUnit unit) starts (for a local invocation) | B |
0x84C5 | 3 | When the processing of Future.get(long timeout, TimeUnit unit) ends (for a local invocation) | B |
0x84C9 | 4 | When the processing of Future.get(long timeout, TimeUnit unit) ends (for a remote invocation) | B |
The following figure shows the trace collection points when get is invoked from the remote client.
Figure 8-37 Trace collection points when get is invoked from the remote client
The following table describes the trace information that can be collected when get is invoked from the remote client.
Table 8-61 Trace information that can be collected when get is invoked from the remote client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Optional | |||
1 | 0x84C6 | B | -- | -- | -- |
2 | 0x84C2 | B | -- | -- | -- |
3 | 0x84C3 | B | -- | -- |
|
4 | 0x84C7 | B | -- | -- |
|
1 | 0x84C8 | B | -- | -- | Method name, argument information |
2 | 0x84C4 | B | -- | -- | Method name, argument information |
3 | 0x84C5 | B | -- | -- |
|
4 | 0x84C9 | B | -- | -- |
|
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-62 Details of the trace collection points when isDone is invoked from the local client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x84CA | 1 | When the processing of Future.isDone() starts (for a local invocation) | B |
0x84CB | 2 | When the processing of Future.isDone() ends (for a local invocation) | B |
Legend:
B: Advanced
#
Corresponds to the numbers in Figure 8-38.
The following figure shows the trace collection points when isDone is invoked from the local client.
Figure 8-38 Trace collection points when isDone is invoked from the local client
The following table describes the trace information that can be collected when isDone is invoked from the local client.
Table 8-63 Trace information that can be collected when isDone is invoked from the local client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x84CA | B | -- | -- | -- |
2 | 0x84CB | B | -- | -- | Return value of isDone() |
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-64 Details of the trace collection points when isDone is invoked from the remote client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x84CE | 1 | When the processing of Future.isDone() starts (for a remote invocation) | B |
0x84CA | 2 | When the processing of Future.isDone() starts (for a local invocation) | B |
0x84CB | 3 | When the processing of Future.isDone() ends (for a local invocation) | B |
0x84CF | 4 | When the processing of Future.isDone() ends (for a remote invocation) | B |
The following figure shows the trace collection points when isDone is invoked from the remote client.
Figure 8-39 Trace collection points when isDone is invoked from the remote client
The following table describes the trace information that can be collected when isDone is invoked from the remote client.
Table 8-65 Trace information that can be collected when isDone is invoked from the remote client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x84CE | B | -- | -- | -- |
2 | 0x84CA | B | -- | -- | -- |
3 | 0x84CB | B | -- | -- | Return value of isDone() |
4 | 0x84CF | B | -- | -- |
|
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-66 Details of the trace collection points when isCancelled is invoked from the local client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x84CC | 1 | When the processing of Future.isCancelled() starts (for a local invocation) | B |
0x84CD | 2 | When the processing of Future.isCancelled() ends (for a local invocation) | B |
The following figure shows the trace collection points when isCancelled is invoked from the local client.
Figure 8-40 Trace collection points when isCancelled is invoked from the local client
The following table describes the trace information that can be collected when isCancelled is invoked from the local client.
Table 8-67 Trace information that can be collected when isCancelled is invoked from the local client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x84CC | B | -- | -- | -- |
2 | 0x84CD | B | -- | -- | Return value of isCancelled() |
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-68 Details of the trace collection points when isCancelled is invoked from the remote client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x84D0 | 1 | When the processing of Future.isCancelled() starts (for a remote invocation) | B |
0x84CC | 2 | When the processing of Future.isCancelled() starts (for a local invocation) | B |
0x84CD | 3 | When the processing of Future.isCancelled() ends (for a local invocation) | B |
0x84D1 | 4 | When the processing of Future.isCancelled() ends (for a remote invocation) | B |
The following figure shows the trace collection points when isCancelled is invoked from the remote client.
Figure 8-41 Trace collection points when isCancelled is invoked from the remote client
The following table describes the trace information that can be collected when isCancelled is invoked from the remote client.
Table 8-69 Trace information that can be collected when isCancelled is invoked from the remote client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x84D0 | B | -- | -- | -- |
2 | 0x84CC | B | -- | -- | -- |
3 | 0x84CD | B | -- | -- | Return value of isCancelled() |
4 | 0x84D1 | B | -- | -- |
|
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-70 Details of the trace collection points when cancel is invoked from the local client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x84D2 | 1 | When the processing of Future.cancel() starts (for a local invocation) | A |
0x84D3 | 2 | When the processing of Future.cancel() ends (for a local invocation) | A |
The following figure shows the trace collection points when cancel is invoked from the local client.
Figure 8-42 Trace collection points when cancel is invoked from the local client
The following table describes the trace information that can be collected when cancel is invoked from the local client.
Table 8-71 Trace information that can be collected when cancel is invoked from the local client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x84D2 | A | -- | -- | Method name, argument information |
2 | 0x84D3 | A | -- | -- | Return value of cancel() |
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Table 8-72 Details of the trace collection points when cancel is invoked from the remote client
Event ID | No. in the figure# | Trace collection points | Level |
---|---|---|---|
0x84D4 | 1 | When the processing of Future.cancel() starts (for a remote invocation) | A |
0x84D2 | 2 | When the processing of Future.cancel() starts (for a local invocation) | A |
0x84D3 | 3 | When the processing of Future.cancel() ends (for a local invocation) | A |
0x84D5 | 4 | When the processing of Future.cancel() ends (for a remote invocation) | A |
The following figure shows the trace collection points when cancel is invoked from the remote client.
Figure 8-43 Trace collection points when cancel is invoked from the remote client
The following table describes the trace information that can be collected when cancel is invoked from the remote client.
Table 8-73 Trace information that can be collected when cancel is invoked from the remote client
No. in the figure# | Event ID | Level | Information that you can acquire | ||
---|---|---|---|---|---|
Interface name | Operation name | Option | |||
1 | 0x84D4 | A | -- | -- | Method name, argument information |
2 | 0x84D2 | A | -- | -- | Method name, argument information |
3 | 0x84D3 | A | -- | -- | Return value of cancel() |
4 | 0x84D5 | A | -- | -- |
|
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.