[JBoss JIRA] (JBTM-1468) Support pure-JTA client and server for WS-AT and REST-AT
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1468?page=com.atlassian.jira.plugin.... ]
Paul Robinson updated JBTM-1468:
--------------------------------
Assignee: Gytis Trikleris (was: Paul Robinson)
> Support pure-JTA client and server for WS-AT and REST-AT
> --------------------------------------------------------
>
> Key: JBTM-1468
> URL: https://issues.jboss.org/browse/JBTM-1468
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Components: REST, XTS
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 6.0.0
>
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> This allows the Client and server application to just use the JTA APIs, whilst having the distribution done over WS-AT or REST-AT.
> To do this we need to:
> # Remove @Transactional annotation. We then need to use some other mechanism to support the (optional) WS-AT participants that want to use annotations.
> # Client side JTA->REST-AT bridge. Needs implementing.
> # Server side REST-AT->JTA bridge. Needs integrating into code base.
> # Update the TXBridge quickstarts to use this and move them out.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (JBTM-1639) Improve XTS Api for looking up Recovery Manager to prevent developer from poling
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1639?page=com.atlassian.jira.plugin.... ]
Paul Robinson updated JBTM-1639:
--------------------------------
Assignee: Gytis Trikleris (was: Paul Robinson)
> Improve XTS Api for looking up Recovery Manager to prevent developer from poling
> --------------------------------------------------------------------------------
>
> Key: JBTM-1639
> URL: https://issues.jboss.org/browse/JBTM-1639
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Components: XTS
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 6.0.0
>
>
> Currently the developer needs to poll for the RecoveryManager as it's possible that the application can be deployed before the XTS subsystem has finished startup.
> This issue was worked around in JBTM-1522 and in the TXBridge tests, by having the application poll until the RM was not null.
> Two possible solutions:
> Have a blocking call to XTSATRecoveryManager.getRecoveryManager() that doesn't return until there is an RM available. if we use the existing java method, we need to analyse all usages to make sure returning null is not a valid outcome.
> Another solution is to find out how to delay the application's initialisation until after XTS has started. This puts the burden on the application developer to implement, but requires no changes to the XTS code. See JBTM-1522 for alternative mechanisms for initialising the application. I tried three and none of them fired after the server had booted.
> To Reproduce
> Put breakpoints on:
> Application's usage of: XTSATRecoveryManager.getRecoveryManager(); //Stop all threads
> XTSATRecoveryManager.setRecoveryManager() // stop on Thread only
> Copy your application to the deploy directory (xtstest.war is a good choice). Now start the server with debugging enabled (suspend=y). To reproduce this you will see the XTSATRecoveryManager.setRecoveryManager() BP fire, and then shortly after the XTSATRecoveryManager.getRecoveryManager() BP will fire. Allow the getRecoveryManager to continue and you will notice it is null. Fix this problem, and the getRecoveryManager will wait until the setRecoveryManager is complete and thus always return a non-null RM.
> Once this is fixed, find all occurrence of the polling work-around and have them use the solution to this issue.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (JBTM-1705) Remove CDIExtensionProcessor in the XTS subsytem
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1705?page=com.atlassian.jira.plugin.... ]
Paul Robinson updated JBTM-1705:
--------------------------------
Assignee: Gytis Trikleris (was: Paul Robinson)
> Remove CDIExtensionProcessor in the XTS subsytem
> ------------------------------------------------
>
> Key: JBTM-1705
> URL: https://issues.jboss.org/browse/JBTM-1705
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: XTS
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 6.0.0
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> WFLY-1370 removes the need for the CDIExtensionProcessor in the XTS subsytem.
> There is currently a hack in CDIExtensionProcessor in 5_BRANCH. This MUST be removed if WFLY-1370 is not merged in time for release. Hence I have marked this as critical.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (JBTM-2214) Remove deprecation warnings for com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2214?page=com.atlassian.jira.plugin.... ]
Paul Robinson updated JBTM-2214:
--------------------------------
Assignee: Gytis Trikleris (was: Paul Robinson)
> Remove deprecation warnings for com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant
> ----------------------------------------------------------------------------------------------------
>
> Key: JBTM-2214
> URL: https://issues.jboss.org/browse/JBTM-2214
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: XTS
> Affects Versions: 5.0.2
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
>
> If you run:
> ./build.sh clean install -DskipTests | grep "com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated"
> You will see:
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/WS-T/dev/src/com/arjuna/wst11/stub/BusinessAgreementWithParticipantCompletionStub.java:[173,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/WS-T/dev/src/com/arjuna/wst11/stub/SubordinateCoordinatorCompletionParticipantStub.java:[260,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/WS-T/dev/src/com/arjuna/wst11/stub/BusinessAgreementWithCoordinatorCompletionStub.java:[207,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestFaultedExceptionBusinessAgreementWithCoordinatorCompletionParticipant.java:[64,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestNoExceptionBusinessAgreementWithParticipantCompletionParticipant.java:[59,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestNoExceptionBusinessAgreementWithCoordinatorCompletionParticipant.java:[62,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestFaultedExceptionBusinessAgreementWithParticipantCompletionParticipant.java:[60,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wstx/tests/common/FailureBusinessParticipant.java:[106,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wstx/tests/common/DemoBusinessParticipant.java:[100,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestSystemExceptionBusinessAgreementWithCoordinatorCompletionParticipant.java:[67,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestWrongStateExceptionBusinessAgreementWithParticipantCompletionParticipant.java:[63,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestSystemExceptionBusinessAgreementWithParticipantCompletionParticipant.java:[63,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestWrongStateExceptionBusinessAgreementWithCoordinatorCompletionParticipant.java:[67,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/WSTX11-interop/src/main/java/com/jboss/transaction/txinterop/webservices/bainterop/participant/ParticipantCompletionParticipantAdapter.java:[56,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/xtstest/src/org/jboss/jbossts/xts/servicetests/service/participant/ParticipantCompletionTestParticipant.java:[99,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/txframework/src/main/java/org/jboss/narayana/compensations/impl/ParticipantImpl.java:[144,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/txframework/src/main/java/org/jboss/narayana/compensations/impl/remote/RemoteParticipant.java:[81,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/txframework/src/test/java/org/jboss/narayana/txframework/impl/handlers/wsba/WSBACoordinatorCompletionParticipantTest.java:[113,21] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/txframework/src/test/java/org/jboss/narayana/txframework/impl/handlers/wsba/WSBAParticipantCompletionParticipantTest.java:[116,21] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (JBTM-1507) Review the TXBridge tests usage of Arquillian
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1507?page=com.atlassian.jira.plugin.... ]
Paul Robinson updated JBTM-1507:
--------------------------------
Assignee: Gytis Trikleris (was: Paul Robinson)
> Review the TXBridge tests usage of Arquillian
> ---------------------------------------------
>
> Key: JBTM-1507
> URL: https://issues.jboss.org/browse/JBTM-1507
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Components: Testing, TxBridge
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 6.0.0
>
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> The TXBridge tests don;t seem to be using Arquillian correctly. There is a servlet that is invoked to do things inside the container. As the tests (should) now run in the container, this should not be needed.
> The tests also seem to have added complexity due to the recovery tests. As the recovery tests need to be able to kill the container, it mandates manual container lifecycle management for *all* tests. We may want to pull out the recovery tests into a separate module.
> We also may want to pull out the DisabledContextPropagationTest into a separate module as they use a modified AS configuration.
> We should also take a general look at how the tests are structured and using Arq.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (JBTM-2214) Remove deprecation warnings for com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2214?page=com.atlassian.jira.plugin.... ]
Paul Robinson updated JBTM-2214:
--------------------------------
Reporter: Gytis Trikleris (was: Tom Jenkinson)
> Remove deprecation warnings for com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant
> ----------------------------------------------------------------------------------------------------
>
> Key: JBTM-2214
> URL: https://issues.jboss.org/browse/JBTM-2214
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: XTS
> Affects Versions: 5.0.2
> Reporter: Gytis Trikleris
> Assignee: Paul Robinson
>
> If you run:
> ./build.sh clean install -DskipTests | grep "com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated"
> You will see:
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/WS-T/dev/src/com/arjuna/wst11/stub/BusinessAgreementWithParticipantCompletionStub.java:[173,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/WS-T/dev/src/com/arjuna/wst11/stub/SubordinateCoordinatorCompletionParticipantStub.java:[260,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/WS-T/dev/src/com/arjuna/wst11/stub/BusinessAgreementWithCoordinatorCompletionStub.java:[207,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestFaultedExceptionBusinessAgreementWithCoordinatorCompletionParticipant.java:[64,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestNoExceptionBusinessAgreementWithParticipantCompletionParticipant.java:[59,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestNoExceptionBusinessAgreementWithCoordinatorCompletionParticipant.java:[62,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestFaultedExceptionBusinessAgreementWithParticipantCompletionParticipant.java:[60,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wstx/tests/common/FailureBusinessParticipant.java:[106,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wstx/tests/common/DemoBusinessParticipant.java:[100,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestSystemExceptionBusinessAgreementWithCoordinatorCompletionParticipant.java:[67,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestWrongStateExceptionBusinessAgreementWithParticipantCompletionParticipant.java:[63,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestSystemExceptionBusinessAgreementWithParticipantCompletionParticipant.java:[63,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/common/TestWrongStateExceptionBusinessAgreementWithCoordinatorCompletionParticipant.java:[67,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/WSTX11-interop/src/main/java/com/jboss/transaction/txinterop/webservices/bainterop/participant/ParticipantCompletionParticipantAdapter.java:[56,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/XTS/localjunit/xtstest/src/org/jboss/jbossts/xts/servicetests/service/participant/ParticipantCompletionTestParticipant.java:[99,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/txframework/src/main/java/org/jboss/narayana/compensations/impl/ParticipantImpl.java:[144,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/txframework/src/main/java/org/jboss/narayana/compensations/impl/remote/RemoteParticipant.java:[81,17] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/txframework/src/test/java/org/jboss/narayana/txframework/impl/handlers/wsba/WSBACoordinatorCompletionParticipantTest.java:[113,21] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
> [WARNING] /home/tom/projects/jbosstm/narayana/txframework/src/test/java/org/jboss/narayana/txframework/impl/handlers/wsba/WSBAParticipantCompletionParticipantTest.java:[116,21] unknown() in com.arjuna.wst.BusinessAgreementWithParticipantCompletionParticipant has been deprecated
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months