-
Enhancement
-
Resolution: Done
-
Critical
-
7.1.0.DR15
The problematic scenario is following
- a client server starts a transaction and call the other server with the txn context
- the other server makes some actions (resources are enlisted and some work is done)
- the client server calls prepare/commit for ejb remoting resource pointing on the other server
- the other server tries to prepare/commit its subordinate transaction but it fails - a resource has a trouble and throws an exception
- server should provide txn exception and add exception by resource to client
- the client should be provided with whole exception chain - meaning get data about the exception, exception cause and suppressed exceptions (suppressed exceptions contains the exception thrown by client)
Enhancement in 7.1.0 brings new handling of exception propagation from the server to client. This new behavior is implemented in Wildfly Transaction Client (https://github.com/wildfly/wildfly-transaction-client) and changes the way of passing raw exception (exception and cause etc. in raw form) to having every exception being cloned to RemoteExceptionCause (implementation in wildfly-common project) and all fields of the original exception are "serialized" to string form and put as message to the newly created RemoteExceptionCause. The new exception gets the same stacktrace as the original one.
The behavior is expected by customer (see https://bugzilla.redhat.com/show_bug.cgi?id=1435549)
This case is follow-up to JBEAP-7957
- is blocked by
-
JBTM-2870 Provide way of getting suppressed exceptions out of SubordinateTransaction
- Closed
-
JBEAP-10426 Upgrade Narayana to 5.5.24.Final
- Closed
-
JBEAP-10443 Upgrade WildFly Transaction Client to 1.0.0.Beta21
- Closed
- is cloned by
-
JBEAP-10011 (7.0.z) Exception coming from a transaction resource has to be provided to client when transaction failure occurs on server
- Closed
- is related to
-
JBEAP-10669 ImportedTransaction not implemented correctly
- Closed
- relates to
-
JBEAP-165 Possible trouble of exception cause during error of 2PC
- Verified
-
JBEAP-9996 Document change of form of exception provided from server to client when transaction failure occurs
- Closed
-
WFTC-9 Propagate exception causes and suppresseds for exception operation results
- Resolved
-
JBEAP-7957 [GSS] (7.1.0) JBTM-2822 Add suppressed exceptions for failures during prepare
- Closed
-
JBTM-2120 Add a deferred exceptions to the rollback exception if the first resource throws a heuristic rollback
- Closed