APAR status
Closed as program error.
Error description
Scenario sticky bmt global tran:
BMT ejb a calls CMT ejb b which either marks context rollback
only or throws unchecked which BMT bean a snuffs out by
catching it.
Current code finds the ROLLBACK EXCEPTION, and then proceeds
to rollback the BMT tran rather than suspending it.
Thus when BMT ejb method #2 comes in and trys to do rollback
on the user tran object it fails because it is
in a local tran.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application server developers *
* using Bean Managed Transaction semantics in *
* Session Enterprise Java Bean's (EJB's) *
****************************************************************
* PROBLEM DESCRIPTION: A user transaction is incorrectly *
* rolledback by the container if the *
* transaction is marked for rollback. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
An EJB with "Bean Managed Transaction" semantics which starts
a transaction and if that transaction is marked for rollback,
EJBContainer would rollback the transaction incorrectly
rather than letting the bean instance take control of the
outcome.
Problem conclusion
Modified processing of logic to not rollback but instead
suspend the transation. The user can continue with same
transaction context during next method invocation and can
control it's outcome.
Temporary fix Comments
APAR information |
APAR number |
PQ83693 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-01-23 |
Closed date |
2004-02-26 |
Last modified date |
2004-02-26 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|