[
https://issues.jboss.org/browse/JBTM-1920?page=com.atlassian.jira.plugin....
]
Michael Musgrove edited comment on JBTM-1920 at 9/15/13 9:43 PM:
-----------------------------------------------------------------
I've reduce the priority since I have committed a work around - blacktie passes the
enlistment urls in the http request body (instead of the Link header).
Someone needs to run the RTS quickstarts against the latest wildfly asap.
Note that the problem is somewhere between undertow and the resteasy interceptors since I
tried manually enlisting using the Link header via the command line (cURL) and got the
same problem (namely the JAX-RS @HeaderParam("Link") annotation is coming
through as a null value):
{code}
[hudson@tenafly blacktie]$ curl -d "timeout=10" -X POST
http://localhost:8080/rest-tx/tx/transaction-manager # this line creates a new
transaction
[hudson@tenafly blacktie]$ curl
http://localhost:8080/rest-tx/tx/transaction-manager # get
the resource url for the new transaction
http://localhost:8080/rest-tx/tx/transaction-manager/0_ffffac118314_-2cc3...
# now enlist a participant using a Link header
[hudson@tenafly blacktie]$ curl -X POST --header "Link:
<
http://127.0.0.1:8888/xid/131077%3a100%3a0%3a1%3a1379280076%3a834173/term...
http://localhost:8080/rest-tx/tx/transaction-manager/0_ffffac118314_-2cc3...
Missing Enlistment Link Header[hudson@tenafly blacktie]$
{code}
was (Author: mmusgrov):
I've reduce the priority since I have committed a work around - blacktie passes
the enlistment urls in the http request body (instead of the Link header).
Note that the problem is somewhere between undertow and the resteasy interceptors since I
tried manually enlisting using the Link header via the command line (cURL) and got the
same problem (namely the JAX-RS @HeaderParam("Link") annotation is coming
through as a null value):
{code}
[hudson@tenafly blacktie]$ curl -d "timeout=10" -X POST
http://localhost:8080/rest-tx/tx/transaction-manager # this line creates a new
transaction
[hudson@tenafly blacktie]$ curl
http://localhost:8080/rest-tx/tx/transaction-manager # get
the resource url for the new transaction
http://localhost:8080/rest-tx/tx/transaction-manager/0_ffffac118314_-2cc3...
# now enlist a participant using a Link header
[hudson@tenafly blacktie]$ curl -X POST --header "Link:
<
http://127.0.0.1:8888/xid/131077%3a100%3a0%3a1%3a1379280076%3a834173/term...
http://localhost:8080/rest-tx/tx/transaction-manager/0_ffffac118314_-2cc3...
Missing Enlistment Link Header[hudson@tenafly blacktie]$
{code}
Blacktie TestTransactions test failed: REST-AT stricter?
--------------------------------------------------------
Key: JBTM-1920
URL:
https://issues.jboss.org/browse/JBTM-1920
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: BlackTie
Reporter: Gytis Trikleris
Assignee: Michael Musgrove
Fix For: 5.0.0.M5
http://172.17.131.2/view/Narayana+BlackTie/job/narayana/255/TESTS=BLACKTI...
http://172.17.131.2/view/Narayana+BlackTie/job/narayana/255/TESTS=BLACKTI...
http://172.17.131.2/view/Narayana+BlackTie/job/narayana/255/TESTS=BLACKTI...
http://172.17.131.2/view/Narayana+BlackTie/job/narayana/255/TESTS=BLACKTI...
{code}
Test Results:
[exec] Run: 14 Failures: 10 Errors: 0
[exec]
[exec]
[exec] 1) test: TestTransactions::test_basic (F) line: 90
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTxAvoid.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 2) test: TestTransactions::test_transactions (F) line: 94
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 3) test: TestTransactions::test_protocol (F) line: 125
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 4) test: TestTransactions::test_info (F) line: 165
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 5) test: TestTransactions::test_timeout1 (F) line: 217
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 6) test: TestTransactions::test_timeout2 (F) line: 261
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 7) test: TestTransactions::test_rollback (F) line: 285
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 8) test: TestTransactions::test_hhazard (F) line: 317
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 9) test: TestTransactions::test_RM (F) line: 345
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
[exec]
[exec]
[exec] 10) test: TestTransactions::test_recovery (F) line: 486
/home/hudson/workspace/narayana/TESTS/BLACKTIE/jdk/jdk7.latest/label/linux64el6/blacktie/tx/src/test/cpp/TestTransactions.cxx
[exec] equality assertion failed
[exec] - Expected: 0
[exec] - Actual : -6
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira