Commit 6b1ccfc
authored
Fixing the console warnings: No transaction in place, so not suspending. (#1310)
./gradlew testIntegration
BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d
2026-06-01 19:18:03,744 |kJoinPool-1-worker-9 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10000,
maxSeqId=10010, bankSize=10
2026-06-01 19:18:03,744 |kJoinPool-1-worker-3 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,744 |kJoinPool-1-worker-3 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10010,
maxSeqId=10020, bankSize=10
2026-06-01 19:18:03,745 |kJoinPool-1-worker-4 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,745 |kJoinPool-1-worker-4 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10020,
maxSeqId=10030, bankSize=10
2026-06-01 19:18:03,745 |kJoinPool-1-worker-8 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,745 |kJoinPool-1-worker-8 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10030,
maxSeqId=10040, bankSize=10
2026-06-01 19:18:03,745 |kJoinPool-1-worker-1 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,745 |kJoinPool-1-worker-1 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10040,
maxSeqId=10050, bankSize=10
2026-06-01 19:18:03,745 |kJoinPool-1-worker-1 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,745 |kJoinPool-1-worker-1 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10050,
maxSeqId=10060, bankSize=10
2026-06-01 19:18:03,745 |kJoinPool-1-worker-6 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,745 |kJoinPool-1-worker-6 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10060,
maxSeqId=10070, bankSize=10
2026-06-01 19:18:03,746 |kJoinPool-1-worker-6 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,746 |kJoinPool-1-worker-6 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10070,
maxSeqId=10080, bankSize=10
2026-06-01 19:18:03,746 |kJoinPool-1-worker-2 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,746 |kJoinPool-1-worker-2 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10080,
maxSeqId=10090, bankSize=10
2026-06-01 19:18:03,746 |kJoinPool-1-worker-3 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,746 |kJoinPool-1-worker-3 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10090,
maxSeqId=10100, bankSize=10
2026-06-01 19:18:03,746 |kJoinPool-1-worker-3 |TransactionUtil |W| No
transaction in place, so not suspending.
2026-06-01 19:18:03,746 |kJoinPool-1-worker-3 |SequenceUtil |I| Got bank
of sequenced IDs for
[BogusSequencebe00e860-64ec-4520-a02f-b5b718509d7d]; curSeqId=10100,
maxSeqId=10110, bankSize=10
Assumptions:
Log Message: No transaction in place, so not suspending.
Thought: Code is attempting to suspend a transaction when no transaction is currently
active. Wrapping the suspend call in a check like if
(TransactionUtil.isTransactionInPlace()) will eliminate this warning.1 parent 5a725fb commit 6b1ccfc
8 files changed
Lines changed: 24 additions & 8 deletions
File tree
- applications
- accounting/src/main/java/org/apache/ofbiz/accounting/thirdparty/paypal
- order/src/main/java/org/apache/ofbiz/order/order
- framework
- common/src/main/java/org/apache/ofbiz/common/login
- entity/src/main/java/org/apache/ofbiz/entity/util
- service/src/main/java/org/apache/ofbiz/service
- webapp/src/main/java/org/apache/ofbiz/webapp
- control
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5623 | 5623 | | |
5624 | 5624 | | |
5625 | 5625 | | |
5626 | | - | |
| 5626 | + | |
| 5627 | + | |
| 5628 | + | |
5627 | 5629 | | |
5628 | 5630 | | |
5629 | 5631 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
0 commit comments