The following table describes the trace information that can be collected in an OTS. Note that when more than one instance of information is described for a single item as different points, it implies that any one of those is output.
No. in the figure#1 |
Event ID |
Level |
Information that you can acquire |
Interface name |
Operation name |
Optional |
1 |
0x9400 |
A |
global transaction |
- | created
Generated upon receiving an instruction for starting a transaction.
- | recreated
Generated upon receiving an instruction from another node for participating in a transaction processing.
- | recovered
Recovered from the status file.
- | recovered(orphan)
Xid was recovered from javax.transaction.xa.XAResource, but because no corresponding transaction existed, a new transaction was generated.
|
[[Global-transaction-ID]] |
2 |
0x9401 |
A |
global transaction |
| marked rollback(reason-for-transition#2) |
[[Global-transaction-ID]] |
3 |
0x9402 |
A |
global transaction |
| rolling back(reason-for-transition#3) |
[[Global-transaction-ID]] |
12 |
0x9403 |
A |
global transaction |
- | committed
Committed.
- | rolled back
Rolled back.
- | heuristic commit
Committed forcibly.
- | heuristic rollback
Rolled back forcibly.
- | heuristic mixed
Committed and rolled back partially.
- | heuristic hazard
Not clear if committed or rolled back.
- | unknown
Unknown if committed or rolled back.
- | invalid status
Concluded with a status other than those described above.
|
[[Global-transaction-ID]] |
4 |
0x9404 |
B |
- XAResource-identifier
- None
|
- ]] prepare
prepare is issued.
- ]] commit(second phase)
Second-phase commit is issued.
- ]] commit(one phase)
First-phase commit is issued.
- ]] rollback
rollback is issued.
- ]] forget
forget is issued.
- ]] recover
recover is issued.
|
- [[Global-transaction-ID]]
- None
|
5 |
0x9405 |
B |
- XAResource-identifier
- None
|
- In the case of normal return
- [[ prepare
- [[ commit(second phase)
- [[ commit(one phase)
- [[ rollback
- [[ forget
- [[ recover
- In the case of abnormal return (when an unexpected value is returned, or when an exception occurs)
- [[!prepare
- [[!commit(second phase)
- [[!commit(one phase)
- [[!rollback
- [[!forget
- [[!recover
|
- [[Global-transaction-ID]]:[[result]]#4
- None
|
6 |
0x9406 |
B |
resource |
- ]] prepare
prepare is issued.
- ]] commit(second phase)
Second-phase commit is issued.
- ]] commit(one phase)
First-phase commit is issued.
- ]] rollback
rollback is issued.
- ]] forget
forget is issued.
|
[[Global-transaction-ID]] |
9 |
0x9407 |
B |
resource |
- In the case of normal return
- [[ prepare
- [[ commit(second phase)
- [[ commit(one phase)
- [[ rollback
- [[ forget
- In the case of abnormal return (when an unexpected value is returned, or when an exception occurs)
- [[!prepare
- [[!commit(second phase)
- [[!commit(one phase)
- [[!rollback
- [[!forget
|
- [[Global-transaction-ID]]
- [[Global-transaction-ID]]:[[result]]#5
|
7 |
0x9408 |
B |
subordinate transaction |
- ]] prepare
A prepare instruction is received.
- ]] commit(second phase)
A second-phase commit instruction is received.
- ]] commit(one phase)
A first-phase commit instruction is received.
- ]] rollback
A rollback instruction is received.
- ]] forget
A forget instruction is received.
|
[[Global-transaction-ID]] |
8 |
0x9409 |
B |
subordinate transaction |
- In the case of normal return
- [[ prepare
- [[ commit(second phase)
- [[ commit(one phase)
- [[ rollback
- [[ forget
- In the case of abnormal return (when an unexpected value is returned, or when an exception occurs)
- [[!prepare
- [[!commit(second phase)
- [[!commit(one phase)
- [[!rollback
- [[!forget
|
- [[Global-transaction-ID]]
- [[Global-transaction-ID]]:[[result]]#6
|
13 |
0x9410 |
B |
- None
- XAResource-identifier
|
]] get xaresource |
- None
- [[Global-transaction-ID]]
|
14 |
0x9411 |
B |
- None
- XAResource-identifier
|
- In the case of normal return
- In the case of abnormal return (when an unexpected value is returned, or when an exception occurs)
|
- None
- [[result]]#7
- [[Global-transaction-ID]]
- [[Global-transaction-ID]]:[[result]]#7
|
10 |
0x9412 |
B |
- Status-file-name
- Status-file-name:entry-number#8
|
- ]] write(contents-to-be-written#9)
- ]] read(contents-to-be-read#10)
|
- None
- [[Global-transaction-ID]]
|
11 |
0x9413 |
B |
- Status-file-name
- Status-file-name:entry-number#8
|
- In the case of normal return
- In the case of abnormal return (when an unexpected value is returned, or when an exception occurs)
|
- None
- [[result]]#11
- [[Global-transaction-ID]]
- [[Global-transaction-ID]]:[[result]]#11
|