[JBoss JIRA] (JBTM-1408) TXFramework: XTS Handler not added to HandlerChain
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1408?page=com.atlassian.jira.plugin.... ]
Paul Robinson edited comment on JBTM-1408 at 1/4/13 10:56 AM:
--------------------------------------------------------------
The problem is how do we infer the id value? This is easy providing it is not overridden in the web.xml as follows:
{code}
<web-app>
<servlet>
<servlet-name>MyOverridenServiceName</servlet-name>
<servlet-class>org.jboss.narayana.txframework.functional.services.ATService</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyOverridenServiceName</servlet-name>
<url-pattern>/ATService</url-pattern>
</servlet-mapping>
</web-app>
{code}
If this is the case we can't currently infer it. So the current restriction is that 'servlet-name' must be set to the same as 'servlet-class' if the web.xml is used. If no web.xml is used then we know that the id will be the FQCN for an EJB and the CN for a pojo WS.
was (Author: paul.robinson):
The problem is how do we infer the id value? This is easy providing it is not overridden in the web.xml as follows:
{code}
<web-app>
<servlet>
<servlet-name>MyOverridenServiceName</servlet-name>
<servlet-class>org.jboss.narayana.txframework.functional.services.ATService</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyOverridenServiceName</servlet-name>
<url-pattern>/ATService</url-pattern>
</servlet-mapping>
</web-app>
{cose}
If this is the case we can't currently infer it. So the current restriction is that 'servlet-name' must be set to the same as 'servlet-class' if the web.xml is used. If no web.xml is used then we know that the id will be the FQCN for an EJB and the CN for a pojo WS.
> TXFramework: XTS Handler not added to HandlerChain
> --------------------------------------------------
>
> Key: JBTM-1408
> URL: https://issues.jboss.org/browse/JBTM-1408
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing, TXFramework
> Affects Versions: 5.0.0.M1
> Reporter: Amos Feng
> Assignee: Paul Robinson
> Priority: Critical
> Fix For: 5.0.0.M2
>
> Original Estimate: 2 days
> Time Spent: 1 day
> Remaining Estimate: 1 day
>
> Tests in error:
> testSimple(org.jboss.narayana.txframework.functional.ATBridgeTest): Could not serialize object: TestResult[status=FAILED,time=1212ms]
> testClientDrivenRollback(org.jboss.narayana.txframework.functional.ATBridgeTest): Could not serialize object: TestResult[status=FAILED,time=331ms]
> testSimple(org.jboss.narayana.txframework.functional.ATTest): Could not serialize object: TestResult[status=FAILED,time=1735ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.ATTest): Could not serialize object: TestResult[status=FAILED,time=431ms]
> testClientDrivenRollback(org.jboss.narayana.txframework.functional.ATTest)
> testParticipantDrivenRollback(org.jboss.narayana.txframework.functional.ATTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.Exception>
> testApplicationException(org.jboss.narayana.txframework.functional.ATTest)
> testSimple(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Could not serialize object: TestResult[status=FAILED,time=1050ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Could not serialize object: TestResult[status=FAILED,time=449ms]
> testClientDrivenCancel(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest)
> testApplicationException(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest)
> testCannotComplete(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.Exception>
> testAutoComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Could not serialize object: TestResult[status=FAILED,time=2534ms]
> testManualComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Could not serialize object: TestResult[status=FAILED,time=501ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testClientDrivenCompensate(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testApplicationException(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testCannotComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.RuntimeException>
--
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
13 years, 3 months
[JBoss JIRA] (JBTM-1408) TXFramework: XTS Handler not added to HandlerChain
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1408?page=com.atlassian.jira.plugin.... ]
Paul Robinson commented on JBTM-1408:
-------------------------------------
The problem is how do we infer the id value? This is easy providing it is not overridden in the web.xml as follows:
{code}
<web-app>
<servlet>
<servlet-name>MyOverridenServiceName</servlet-name>
<servlet-class>org.jboss.narayana.txframework.functional.services.ATService</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyOverridenServiceName</servlet-name>
<url-pattern>/ATService</url-pattern>
</servlet-mapping>
</web-app>
{cose}
If this is the case we can't currently infer it. So the current restriction is that 'servlet-name' must be set to the same as 'servlet-class' if the web.xml is used. If no web.xml is used then we know that the id will be the FQCN for an EJB and the CN for a pojo WS.
> TXFramework: XTS Handler not added to HandlerChain
> --------------------------------------------------
>
> Key: JBTM-1408
> URL: https://issues.jboss.org/browse/JBTM-1408
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing, TXFramework
> Affects Versions: 5.0.0.M1
> Reporter: Amos Feng
> Assignee: Paul Robinson
> Priority: Critical
> Fix For: 5.0.0.M2
>
> Original Estimate: 2 days
> Time Spent: 1 day
> Remaining Estimate: 1 day
>
> Tests in error:
> testSimple(org.jboss.narayana.txframework.functional.ATBridgeTest): Could not serialize object: TestResult[status=FAILED,time=1212ms]
> testClientDrivenRollback(org.jboss.narayana.txframework.functional.ATBridgeTest): Could not serialize object: TestResult[status=FAILED,time=331ms]
> testSimple(org.jboss.narayana.txframework.functional.ATTest): Could not serialize object: TestResult[status=FAILED,time=1735ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.ATTest): Could not serialize object: TestResult[status=FAILED,time=431ms]
> testClientDrivenRollback(org.jboss.narayana.txframework.functional.ATTest)
> testParticipantDrivenRollback(org.jboss.narayana.txframework.functional.ATTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.Exception>
> testApplicationException(org.jboss.narayana.txframework.functional.ATTest)
> testSimple(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Could not serialize object: TestResult[status=FAILED,time=1050ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Could not serialize object: TestResult[status=FAILED,time=449ms]
> testClientDrivenCancel(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest)
> testApplicationException(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest)
> testCannotComplete(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.Exception>
> testAutoComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Could not serialize object: TestResult[status=FAILED,time=2534ms]
> testManualComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Could not serialize object: TestResult[status=FAILED,time=501ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testClientDrivenCompensate(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testApplicationException(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testCannotComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.RuntimeException>
--
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
13 years, 3 months
[JBoss JIRA] (JBTM-1393) XTSDemoTest fails because jbossHome does not exist
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1393?page=com.atlassian.jira.plugin.... ]
Paul Robinson commented on JBTM-1393:
-------------------------------------
Gytis,
This usually happens due to the dependent job failing. That job would normally produce a built jbossas for use by these tests. If it fails, there is none available. Can you check to see if this has happened again.
Paul.
> XTSDemoTest fails because jbossHome does not exist
> --------------------------------------------------
>
> Key: JBTM-1393
> URL: https://issues.jboss.org/browse/JBTM-1393
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing, XTS
> Reporter: Gytis Trikleris
> Assignee: Paul Robinson
> Priority: Minor
> Fix For: 4.17.4, 5.0.0.M2
>
> Original Estimate: 1 hour
> Time Spent: 15 minutes
> Remaining Estimate: 0 minutes
>
> See: http://172.17.131.2/job/btny-EAP61-quickstarts/570
> {noformat}
> Tests in error:
> org.jboss.jbossts.xts.demotest.XTSDemoTest: jbossHome 'C:\hudson\workspace\jbossts-narayana-skipTests\jboss-as\build\target\jboss-as-7.2.0.Alpha1-SNAPSHOT' must exist
> {noformat}
--
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
13 years, 3 months
[JBoss JIRA] (JBTM-1408) TXFramework: XTS Handler not added to HandlerChain
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1408?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris commented on JBTM-1408:
---------------------------------------
http://172.17.131.2/job/btny-narayana-quickstarts/203
> TXFramework: XTS Handler not added to HandlerChain
> --------------------------------------------------
>
> Key: JBTM-1408
> URL: https://issues.jboss.org/browse/JBTM-1408
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing, TXFramework
> Affects Versions: 5.0.0.M1
> Reporter: Amos Feng
> Assignee: Paul Robinson
> Priority: Critical
> Fix For: 5.0.0.M2
>
> Original Estimate: 2 days
> Time Spent: 1 day
> Remaining Estimate: 1 day
>
> Tests in error:
> testSimple(org.jboss.narayana.txframework.functional.ATBridgeTest): Could not serialize object: TestResult[status=FAILED,time=1212ms]
> testClientDrivenRollback(org.jboss.narayana.txframework.functional.ATBridgeTest): Could not serialize object: TestResult[status=FAILED,time=331ms]
> testSimple(org.jboss.narayana.txframework.functional.ATTest): Could not serialize object: TestResult[status=FAILED,time=1735ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.ATTest): Could not serialize object: TestResult[status=FAILED,time=431ms]
> testClientDrivenRollback(org.jboss.narayana.txframework.functional.ATTest)
> testParticipantDrivenRollback(org.jboss.narayana.txframework.functional.ATTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.Exception>
> testApplicationException(org.jboss.narayana.txframework.functional.ATTest)
> testSimple(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Could not serialize object: TestResult[status=FAILED,time=1050ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Could not serialize object: TestResult[status=FAILED,time=449ms]
> testClientDrivenCancel(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest)
> testApplicationException(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest)
> testCannotComplete(org.jboss.narayana.txframework.functional.BACoordinatorCompletionTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.Exception>
> testAutoComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Could not serialize object: TestResult[status=FAILED,time=2534ms]
> testManualComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Could not serialize object: TestResult[status=FAILED,time=501ms]
> testMultiInvoke(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testClientDrivenCompensate(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testApplicationException(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest)
> testCannotComplete(org.jboss.narayana.txframework.functional.BAParticipantCompletionTest): Unexpected exception, expected<com.arjuna.wst.TransactionRolledBackException> but was<java.lang.RuntimeException>
--
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
13 years, 3 months