]
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: